Re: [PATCH 2/4] pulse8-cec: serialize communication with adapter

2016-08-22 Thread Hans Verkuil
On 08/19/2016 06:36 PM, Johan Fjeldtvedt wrote: > Make sending messages to the adapter serialized within the driver. > > send_and_wait is split into send_and_wait_once, which only sends once > and checks for the result, and the higher level send_and_wait, which > performs locking and retries. > >

[PATCH 2/4] pulse8-cec: serialize communication with adapter

2016-08-19 Thread Johan Fjeldtvedt
Make sending messages to the adapter serialized within the driver. send_and_wait is split into send_and_wait_once, which only sends once and checks for the result, and the higher level send_and_wait, which performs locking and retries. Signed-off-by: Johan Fjeldtvedt --- drivers/staging/media/p