summaryrefslogtreecommitdiff
path: root/sound/pci/als300.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-03 11:54:19 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-06 05:54:52 -0500
commit2e1e84c587d792c4ad0abfbaed22201d9aac7b72 (patch)
treeaa3706a2d1e9fd5d5ba38f5dfdde98d1cb8559f8 /sound/pci/als300.c
parentc69ce6156341e5d24d04689dc429c419fe7c0f9d (diff)
media: em28xx-reg.h: Fix coding style issues
Use BIT() macros and fix one comment that is not following the Kernel coding style. It should be noticed that the registers bit masks should be casted to unsigned char, as, otherwise, it would produce warnings like: drivers/media/usb/em28xx/em28xx-cards.c:81:33: warning: large integer implicitly truncated to unsigned type [-Woverflow] {EM2820_R08_GPIO_CTRL, 0x6d, ~EM_GPIO_4, 10}, ^ Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'sound/pci/als300.c')
0 files changed, 0 insertions, 0 deletions