summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ene_ir.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-01-30 17:17:42 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-25 13:02:05 -0300
commit22d97e561dac6cc90954567a7b4be54680982769 (patch)
tree81d669003e902294456012a95b45f4fd349d662b /drivers/media/rc/ene_ir.h
parent05cacb176712cbbd3ae0331d92fe57741ef2d2ba (diff)
downloadblackbird-op-linux-22d97e561dac6cc90954567a7b4be54680982769.tar.gz
blackbird-op-linux-22d97e561dac6cc90954567a7b4be54680982769.zip
[media] adv7604: Replace *_and_or() functions with *_clr_set()
The *_and_or() functions take an 'and' bitmask to be ANDed with the register value before ORing it with th 'or' bitmask. As the functions are used to mask and set bits selectively, this requires the caller to invert the 'and' bitmask and is thus error prone. Replace those functions with a *_clr_set() variant that takes a mask of bits to be cleared instead of a mask of bits to be kept. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/rc/ene_ir.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud