summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-icade.c
diff options
context:
space:
mode:
authorLaurent Pinchart2018-05-26 19:25:10 +0200
committerTomi Valkeinen2018-09-03 15:13:28 +0200
commit79ddb2f0c348e991edca106a0e5ab414a822ccfc (patch)
tree2f120c440d6b07294f324d20e5b6b48cb4a63ea4 /drivers/hid/hid-icade.c
parentdrm/omap: Reverse direction of DSS device (dis)connect operations (diff)
downloadkernel-qcow2-linux-79ddb2f0c348e991edca106a0e5ab414a822ccfc.tar.gz
kernel-qcow2-linux-79ddb2f0c348e991edca106a0e5ab414a822ccfc.tar.xz
kernel-qcow2-linux-79ddb2f0c348e991edca106a0e5ab414a822ccfc.zip
drm/omap: dss: Move connection checks to omapdss_device_(dis)connect
When a DSS output is (dis)connected the omapdss_output_(un)set_device() function performs a sanity check to ensure that the output isn't already (dis)connected. The check is unnecessary as those situations should never happen, but can nonetheless be useful to catch driver bugs. To prepare for removal of the omapdss_output_(un)set_device() functions move the connection check to the omapdss_device_connect() function. The omapdss_device_disconnect() already contains a corresponding check. 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/hid/hid-icade.c')
0 files changed, 0 insertions, 0 deletions