From: Mauro Carvalho Chehab Date: Tue, 22 Apr 2008 17:46:03 +0000 (-0300) Subject: V4L/DVB (7377): radio-sf16fmr2.c: fix volume handling X-Git-Tag: v2.6.26-rc1~1084^2~298 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2cb200f0d0d5e801b47635554519f6e1b64e847;p=pandora-kernel.git V4L/DVB (7377): radio-sf16fmr2.c: fix volume handling As reported by Roel Kluin <12o3l@tiscali.nl>: in drivers/media/radio/radio-sf16fmr2.c:319: for (i = 0; i < ARRAY_SIZE(radio_qctrl); i++) { if ((fmr2->card_type != 11) && V4L2_CID_AUDIO_VOLUME) radio_qctrl[i].step = 65535; ... I don't understand this '&& V4L2_CID_AUDIO_VOLUME' While fixing this issue, I've revisited the volume control code and fixed CodingStyle on the changed procedures. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed