Skip to content
Commit 55e06ae2 authored by Miquel Raynal's avatar Miquel Raynal
Browse files

mtd: rawnand: onfi: Fix endianness when reading NV-DDR values



Without the use of le16_to_cpu(), these accesses would have been wrong
on a big-endian machine.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Fixes: 45606518 ("mtd: rawnand: Add onfi_fill_nvddr_interface_config() helper")
Fixes: 9310668f ("mtd: rawnand: Retrieve NV-DDR timing modes from the ONFI parameter page")
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210527084913.208635-1-miquel.raynal@bootlin.com
parent cf67edce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment