diff options
author | Maxime Ripard <maxime@cerno.tech> | 2021-09-10 12:11:58 +0200 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-09-24 19:25:33 +0200 |
commit | db6568498b35a4d5d5a99420df27ed25fae31406 (patch) | |
tree | f4ef3c70b284febdbe6ecf025249ef4ed758e13a /tools/hv | |
parent | drm/mipi-dsi: Create devm device registration (diff) | |
download | linux-db6568498b35a4d5d5a99420df27ed25fae31406.tar.xz linux-db6568498b35a4d5d5a99420df27ed25fae31406.zip |
drm/mipi-dsi: Create devm device attachment
MIPI-DSI devices need to call mipi_dsi_attach() when their probe is done
to attach against their host.
However, at removal or when an error occurs, that attachment needs to be
undone through a call to mipi_dsi_detach().
Let's create a device-managed variant of the attachment function that
will automatically detach the device at unbind.
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210910101218.1632297-5-maxime@cerno.tech
Diffstat (limited to 'tools/hv')
0 files changed, 0 insertions, 0 deletions