path: root/Kconfig
diff options
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-03-22 09:21:57 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-03-29 19:13:03 -0300
commitc2e58cfc70ce8e51bed0f46eaf87ab95f1d876a9 (patch)
tree98d2ef0e3a6bed435e65351eb277a58702e549c2 /Kconfig
parent923e0ac4854570878f847ff9405ce9fe05746848 (diff)
[media] au0828: Fix dev_state handlingold/cs_c2e58cfc70ce
The au0828 dev_state is actually a bit mask. It should not be checking with "==" but, instead, with a logic and. There are some places where it was doing it wrong. Fix that by replacing the dev_state set/clear/test with the bitops. As reviewed by Shuah: "Looks good. Tested running bind/unbind au0828 loop for 1000 times. Didn't see any problems and the v4l2_querycap() problem has been fixed with this patch. After the above test, ran bind/unbind snd_usb_audio 1000 times. Didn't see any problems. Generated media graph and the graph looks good." Cc: stable@vger.kernel.org Reviewed-by: Shuah Khan <shuahkh@osg.samsung.com> Tested-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions

Privacy Policy