diff options
author | Laurent Pinchart | 2018-03-06 00:51:31 +0100 |
---|---|---|
committer | Tomi Valkeinen | 2018-09-03 15:13:28 +0200 |
commit | 3be0f15bd6e94aa17a571020704bde413342e8eb (patch) | |
tree | d27d8aa2349085f57af46620dda266f386dba2f6 /drivers/dma/lpc18xx-dmamux.c | |
parent | drm/omap: dss: Move display type validation to initialization time (diff) | |
download | kernel-qcow2-linux-3be0f15bd6e94aa17a571020704bde413342e8eb.tar.gz kernel-qcow2-linux-3be0f15bd6e94aa17a571020704bde413342e8eb.tar.xz kernel-qcow2-linux-3be0f15bd6e94aa17a571020704bde413342e8eb.zip |
drm/omap: dss: Merge two disconnection helpers
To simplify the pipeline disconnection handling merge the
omapdss_device_disconnect() and omapdss_output_unset_device() functions.
The device state check is now called for every device in the pipeline,
extending this sanity check coverage.
There is no need to return an error from omapdss_device_disconnect()
when the check fails, as omapdss_output_unset_device() used to do, given
that we can't prevent disconnection due to device unbinding (the return
value of omapdss_output_unset_device() is never checked in the current
code for that reason).
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/dma/lpc18xx-dmamux.c')
0 files changed, 0 insertions, 0 deletions