]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit38f948915f1b6ceb382352e48761dfffe3821703
treecb89d13c7d3b798467c4f59d071a4f40b85ef186
parent485f829471c259a61d83b8a97e6508097dd3eb41
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