Skip to content

Commit 834cea3

Browse files
Rafał Miłeckiwsakernel
authored andcommitted
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: e2e5a2c ("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>
1 parent 5de7179 commit 834cea3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/i2c/busses/i2c-brcmstb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ static int brcmstb_i2c_probe(struct platform_device *pdev)
673673

674674
/* set the data in/out register size for compatible SoCs */
675675
if (of_device_is_compatible(dev->device->of_node,
676-
"brcmstb,brcmper-i2c"))
676+
"brcm,brcmper-i2c"))
677677
dev->data_regsz = sizeof(u8);
678678
else
679679
dev->data_regsz = sizeof(u32);

0 commit comments

Comments
 (0)