[media] cx25840/cx18: Use standard ordering of mask and shift
authorJoe Perches <joe@perches.com>
Mon, 27 Oct 2014 05:25:01 +0000 (02:25 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Nov 2014 10:44:08 +0000 (08:44 -0200)
commit85273c382e185236241f21e0d468f86ca76c1546
treeeb537cc688a7c150355a9f45375b6cfc4611c34b
parent7041bc997db6a29af74499938987160bbe6654ef
[media] cx25840/cx18: Use standard ordering of mask and shift

Precedence of & and >> is not the same and is not left to right.
shift has higher precedence and should be done after the mask.

This use has a mask then shift which is not the normal style.

Move the shift before the mask to match nearly all the other
uses in kernel.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/cx25840/cx25840-core.c
drivers/media/pci/cx18/cx18-av-core.c