Skip to content

Commit fc28d1c

Browse files
ConchuODbroonie
authored andcommitted
spi: spidev: add correct compatible for Rohm BH2228FV
When Maxime originally added the BH2228FV to the spidev driver, he spelt it incorrectly - the d should have been a b. Add the correctly spelt compatible to the driver. Although the majority of users of this compatible are abusers, there is at least one board that validly uses the incorrect spelt compatible, so keep it in the driver to avoid breaking the few real users it has. Fixes: 8fad805 ("spi: spidev: Add Rohm DH2228FV DAC compatible string") Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Acked-by: Maxime Ripard <mripard@kernel.org> Link: https://patch.msgid.link/20240717-ventricle-strewn-a7678c509e85@spud Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 5170dae commit fc28d1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/spi/spidev.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,7 @@ static const struct of_device_id spidev_dt_ids[] = {
734734
{ .compatible = "lwn,bk4", .data = &spidev_of_check },
735735
{ .compatible = "menlo,m53cpld", .data = &spidev_of_check },
736736
{ .compatible = "micron,spi-authenta", .data = &spidev_of_check },
737+
{ .compatible = "rohm,bh2228fv", .data = &spidev_of_check },
737738
{ .compatible = "rohm,dh2228fv", .data = &spidev_of_check },
738739
{ .compatible = "semtech,sx1301", .data = &spidev_of_check },
739740
{ .compatible = "silabs,em3581", .data = &spidev_of_check },

0 commit comments

Comments
 (0)