From: Hans Verkuil Date: Mon, 10 Feb 2014 10:21:36 +0000 (-0300) Subject: [media] radio-cadet: avoid interruptible_sleep_on race X-Git-Tag: v3.15-rc1~85^2~330 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce0ede2c06202dace68a2f0401ebaafdaa2720d2;p=pandora-kernel.git [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 Acked-by: Arnd Bergmann Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed