diff options
author | Jonas Karlman <jonas@kwiboo.se> | 2025-07-21 22:07:16 +0000 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2025-08-31 00:48:15 +0800 |
commit | fca01a8792e6ed48a00e08124d55f4f74e47b11d (patch) | |
tree | 6e66e27ac548fab498102e39af647d76bdf5e7c0 /drivers/usb | |
parent | c8e6a7131d58511129cdec16f269600b51f0a45a (diff) |
phy: rockchip: typec: Fix improper use of UCLASS_PHY
The Rockchip TypeC glue driver improperly present itself as a UCLASS_PHY
driver, without ever implementing the required phy_ops.
This is something that in special circumstances can lead to a NULL
pointer dereference followed by a SError crash.
Change the glue driver to use UCLASS_NOP to fix this.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions