On 20/06/2022 16.49, Marc Kleine-Budde wrote: > In mcp251xfd_register_get_dev_id() the device ID register is read with > handcrafted SPI transfers. As all registers, this register is in > little endian, too. However after the transfer the register content is > converted from big endian to CPU endianness. > > Fix the conversion by converting from little endian to CPU endianness. > > Side note: So far the register content is 0x0 on all mcp251xfd > compatible chips, and is only used for an informative printk. Reviewed-by: Rasmus Villemoes <rasmus.villemoes@xxxxxxxxx>