V4L/DVB (5059): Pvrusb2: Be smarter about mode restoration
authorMike Isely <isely@pobox.com>
Sat, 30 Dec 2006 21:31:22 +0000 (18:31 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:35 +0000 (13:34 -0200)
commitc74e0062684bc034a003289e2e2023f0e9ff747c
tree746324235464c72d96c9b833de55933035dbab3d
parentcdef8bd8c6ab69407afaf78226cc9861f916c83d
V4L/DVB (5059): Pvrusb2: Be smarter about mode restoration

Switch back to the previous input selection when the radio device is
closed - but only do that if the current input selection is still the
radio (i.e. it appears that it hasn't been messed with).

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-v4l2.c