]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
nvmem: zynqmp: Fix the size to one byte to read the correct value from the nvmem...
authorNava kishore Manne <nava.manne@xilinx.com>
Fri, 10 Feb 2017 09:20:18 +0000 (14:50 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 10 Feb 2017 12:47:03 +0000 (13:47 +0100)
commit3494c67c8e71ea2da04559a0f434b9a9c8314d27
tree22ef5b3a331e4294821ba09f2671e9eeb11e33d2
parent5410386d9b6c7c91892a4961c998bf1bc54e795e
nvmem: zynqmp: Fix the size to one byte to read the correct value from the nvmem sysfs entry.

In the driver currently the sysfs read value is
4 bytes but it should be 1 byte inorder to read
the correct chipid.

This patch fixes this issue.

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/nvmem/zynqmp_nvmem.c