From: Hans Verkuil Date: Mon, 18 May 2015 13:29:17 +0000 (-0300) Subject: [media] ivtv: fix incorrect audio mode report in log_status X-Git-Tag: omap-for-v4.2/fixes-rc1^2~111^2~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3725d53149e190c6d8da80d458795a396705010e;p=pandora-kernel.git [media] ivtv: fix incorrect audio mode report in log_status The log_status ioctl should report if the audio input has mode Bilingual. However, the check against the itv->dualwatch_stereo_mode is completely wrong and is a left-over from the distant past. Not only is the bitmask obviously wrong, the test itself is broken too since itv->dualwatch_stereo_mode is no longer a bitmask at all. Fix this code properly. Signed-off-by: Hans Verkuil Reported-by: Dan Carpenter Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed