Skip to content

Commit f333c19

Browse files
Rafał Miłeckigregkh
authored andcommitted
i2c: brcmstb: fix support for DSL and CM variants
commit 834cea3 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 9fee985 commit f333c19

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
@@ -674,7 +674,7 @@ static int brcmstb_i2c_probe(struct platform_device *pdev)
674674

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

0 commit comments

Comments
 (0)