Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Rafał Miłecki and committed by
Wolfram Sang
834cea3a 5de71797

+1 -1
+1 -1
drivers/i2c/busses/i2c-brcmstb.c
··· 673 673 674 674 /* set the data in/out register size for compatible SoCs */ 675 675 if (of_device_is_compatible(dev->device->of_node, 676 - "brcmstb,brcmper-i2c")) 676 + "brcm,brcmper-i2c")) 677 677 dev->data_regsz = sizeof(u8); 678 678 else 679 679 dev->data_regsz = sizeof(u32);