Skip to content

Commit 7a2bccd

Browse files
bulwahnalexandrebelloni
authored andcommitted
i3c: master: mipi-i3c-hci: correct the config reference for endianness
The referred config BIG_ENDIAN does not exist. The config for the endianness of the CPU architecture is called CPU_BIG_ENDIAN. Correct the config name to the existing config for the endianness. Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Acked-by: Nicolas Pitre <npitre@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20220103094504.3602-1-lukas.bulwahn@gmail.com
1 parent 7ff730c commit 7a2bccd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/i3c/master/mipi-i3c-hci

drivers/i3c/master/mipi-i3c-hci/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ static int i3c_hci_init(struct i3c_hci *hci)
662662

663663
/* Make sure our data ordering fits the host's */
664664
regval = reg_read(HC_CONTROL);
665-
if (IS_ENABLED(CONFIG_BIG_ENDIAN)) {
665+
if (IS_ENABLED(CONFIG_CPU_BIG_ENDIAN)) {
666666
if (!(regval & HC_CONTROL_DATA_BIG_ENDIAN)) {
667667
regval |= HC_CONTROL_DATA_BIG_ENDIAN;
668668
reg_write(HC_CONTROL, regval);

0 commit comments

Comments
 (0)