diff options
| author | Luca Weiss <[email protected]> | 2024-08-18 20:21:01 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-08-22 09:29:40 +0000 |
| commit | 4f83cae0edb2b13aabb82e8a4852092844d320aa (patch) | |
| tree | 2e1ecbedd7b02de65f84b88af136bfa3f21dc2e0 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | usb: dwc3: xilinx: add missing depopulate in probe error path (diff) | |
| download | kernel-4f83cae0edb2b13aabb82e8a4852092844d320aa.tar.gz kernel-4f83cae0edb2b13aabb82e8a4852092844d320aa.zip | |
usb: typec: fsa4480: Relax CHIP_ID check
Some FSA4480-compatible chips like the OCP96011 used on Fairphone 5
return 0x00 from the CHIP_ID register. Handle that gracefully and only
fail probe when the I2C read has failed.
With this the dev_dbg will print 0 but otherwise continue working.
[ 0.251581] fsa4480 1-0042: Found FSA4480 v0.0 (Vendor ID = 0)
Cc: [email protected]
Fixes: e885f5f1f2b4 ("usb: typec: fsa4480: Check if the chip is really there")
Signed-off-by: Luca Weiss <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
