drm/omap: use regmap_update_bit() when muxing DSI pads
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 10 Aug 2017 12:11:03 +0000 (15:11 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 16 Aug 2017 09:52:39 +0000 (12:52 +0300)
commit5cdc8dbbdae163b08baa60a1c9408c4ea3af8643
treef33c9efffcff2b28b74fdd8a11d102b9794df614
parentd874b3a7c44ca48c0e57b8744c1eed2a6d299ba1
drm/omap: use regmap_update_bit() when muxing DSI pads

Use regmap_update_bits instead of regmap_read/write, which simplifies
the code.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/dss/dsi.c