aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorYicong Yang <[email protected]>2020-04-17 15:48:27 +0800
committerMark Brown <[email protected]>2020-04-17 14:21:00 +0100
commit59fc9ad5cb108bce18043281c7cf67f2b425d55d (patch)
treeddc92aa11b0c9a4ecaccb662b53fbb00fcd6993d /drivers/mtd/lpddr/lpddr_cmds.c
parent9d282c17b023a97516a63255ce7f7ee65c39bec1 (diff)
spi: hisi-sfc-v3xx: add error check after per operation
The controller may receive instructions of accessing protected address, or may perform failed page program. These operations will not succeed and the controller will receive interrupts when such failure occur. Previously we don't check the interrupts and return 0 even if such operation fails. Check the interrupts after per command and inform the user if there is an error. Signed-off-by: Yicong Yang <[email protected]> Acked-by: John Garry <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions