]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: ps883x: fix missing accessibility check
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 18 Feb 2025 15:29:32 +0000 (16:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Feb 2025 14:16:09 +0000 (15:16 +0100)
commit9e7968c4424875fe9ce87c993f2f75784a2989cb
treec5217f67ad54081e95433333fed439e6060e7222
parent9f9de3e02d7f6f99ce6f4be92c28537706634ae9
usb: typec: ps883x: fix missing accessibility check

Make sure that the retimer is accessible before registering to avoid
having later consumer calls fail to configure it, something which, for
example, can lead to a hotplugged display not being recognised:

[drm:msm_dp_panel_read_sink_caps [msm]] *ERROR* read dpcd failed -110

Fixes: 257a087c8b52 ("usb: typec: Add support for Parade PS8830 Type-C Retimer")
Cc: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20250218152933.22992-3-johan+linaro@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux/ps883x.c