diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-02-10 07:21:36 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-02-28 14:30:30 -0300 |
commit | ce0ede2c06202dace68a2f0401ebaafdaa2720d2 (patch) | |
tree | bdbf46019b5a3ffb54ea5f47d449ca973152da74 /drivers/media/radio/radio-tea5764.c | |
parent | 2dfb1c939cf7fa03aaa36e7c7da02dd105c6b273 (diff) |
[media] radio-cadet: avoid interruptible_sleep_on race
interruptible_sleep_on is racy and going away. This replaces
one use in the radio-cadet driver with a wait_event_interruptible
call. Special care was taken that accesses to the rdsin and rdsout
indices are always done with dev->lock held.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/radio/radio-tea5764.c')
0 files changed, 0 insertions, 0 deletions