commit | ce0ede2c06202dace68a2f0401ebaafdaa2720d2 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Mon Feb 10 07:21:36 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Fri Feb 28 14:30:30 2014 -0300 |
tree | bdbf46019b5a3ffb54ea5f47d449ca973152da74 | |
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>