imx-drm: imx-hdmi: provide register modification function
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Nov 2013 12:42:02 +0000 (12:42 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 24 Feb 2014 12:03:43 +0000 (12:03 +0000)
commit812bc615fd807d9fa1ad57de40061149cef3e7d4
tree79c7096a6cbb936c489ada122301602f70888350
parentc082f9d7151907da5230f1f20c8da83c9d3188bf
imx-drm: imx-hdmi: provide register modification function

There are a load of read-modify-write patterns to change bitfields in
various registers in this driver; provide a helper to perform this
manipulation.

Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/staging/imx-drm/imx-hdmi.c