diff options
author | Harry Geyer <harry.geyer@devtank.co.uk> | 2023-07-27 19:22:55 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-08-14 16:14:42 +0300 |
commit | 3253f6923a7825e301e05130afede82dde62acc9 (patch) | |
tree | 793af10eb8580fb908ea7aba2f05258adb0acabc /drivers/i2c/busses/i2c-brcmstb.c | |
parent | 2ccdd1b13c591d306f0401d98dedc4bdcd02b421 (diff) | |
download | linux-3253f6923a7825e301e05130afede82dde62acc9.tar.xz |
i2c: tiny-usb: check usb base class before assuming the interface on device is for this driver
Patch allows usb devices with multiple interfaces to use this driver without
this driver assuming all interfaces are i2c-tiny-usb.
Signed-off-by: Harry Geyer <harry.geyer@devtank.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20230727162255.21551-1-harry.geyer@devtank.co.uk
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-brcmstb.c')
0 files changed, 0 insertions, 0 deletions