drm/i2c: tda998x: split tda998x_encoder_dpms into enable/disable
authorPeter Rosin <peda@axentia.se>
Thu, 2 Aug 2018 09:25:19 +0000 (10:25 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 2 Aug 2018 09:25:19 +0000 (10:25 +0100)
commit2c6e758332a4fdf0d2b1c76adba10961afdabc8a
treecb89d13c7d3b798467c4f59d071a4f40b85ef186
parentb1eb4f844f8c35e252eebfacacc438644d9f9ba8
drm/i2c: tda998x: split tda998x_encoder_dpms into enable/disable

This fits better with the drm_bridge callbacks for when this
driver becomes a drm_bridge.

Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Peter Rosin <peda@axentia.se>
[edited by rmk to just split the tda998x_encoder_dpms() function
 and restore the double-disable protection we originally had,
 preserving original behaviour.]
Tested-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c