i2c: brcmstb: fix support for DSL and CM variants
authorRafał Miłecki <rafal@milecki.pl>
Tue, 15 Feb 2022 07:27:35 +0000 (08:27 +0100)
committerWolfram Sang <wsa@kernel.org>
Fri, 18 Feb 2022 09:37:33 +0000 (10:37 +0100)
commit834cea3a252ed4847db076a769ad9efe06afe2d5
tree962a5293096da9a892b08aa270a10c583cddc9c8
parent5de717974005fcad2502281e9f82e139ca91f4bb
i2c: brcmstb: fix support for DSL and CM variants

DSL and CM (Cable Modem) support 8 B max transfer size and have a custom
DT binding for that reason. This driver was checking for a wrong
"compatible" however which resulted in an incorrect setup.

Fixes: e2e5a2c61837 ("i2c: brcmstb: Adding support for CM and DSL SoCs")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-brcmstb.c