]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: rc: fix decoder module unloading
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 16 Nov 2015 19:51:56 +0000 (17:51 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 19 Nov 2015 13:36:29 +0000 (11:36 -0200)
commit414582c1b4c35362c2ba69aa5a0f715d71c3cc6a
treec77bb5ffbf96360a5df99ad5bdc7bf51af5f126b
parent14a4e2c2f7306bccdbf4c78ea198706fb7250e55
[media] media: rc: fix decoder module unloading

Currently, if a decoder module is unloadad, the respective protocol
is still shown as enabled (if it was enabled before).
Fix this by resetting the respective protocol bits if a decoder
module is unloaded.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/rc-ir-raw.c