aboutsummaryrefslogtreecommitdiff
path: root/drivers/android/binder_alloc_selftest.c
diff options
context:
space:
mode:
authorAlexander Usyskin <[email protected]>2021-08-01 10:25:32 +0300
committerGreg Kroah-Hartman <[email protected]>2021-08-01 09:54:22 +0200
commit0fc7ca624b1452050d31b05cd198e38a1b74d1b3 (patch)
treebe3a9ff0507896520bbebbcc20a63ca6390ad584 /drivers/android/binder_alloc_selftest.c
parent9b945d74a5fc14c1f9a7ae98c10921d48c194105 (diff)
samples: mei: don't wait on read completion upon write.
The original mei driver communication was strictly write command and receive response flow, the completion of write was determined when response was ready using select(). This paradigm is a long time not true. There can be write without a response and an unsolicited read. The driver is capable of handling those. Adjust also the sample code and remove select() on read() from the write flow. Add select to the read flow to showcase how to do the read with a timeout. Signed-off-by: Alexander Usyskin <[email protected]> Signed-off-by: Tomas Winkler <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/android/binder_alloc_selftest.c')
0 files changed, 0 insertions, 0 deletions