From 22d97e561dac6cc90954567a7b4be54680982769 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 30 Jan 2014 17:17:42 -0300 Subject: [PATCH] [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 Reviewed-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-format-patch failed