Skip to content
Commit db601f3a authored by Antonio Borneo's avatar Antonio Borneo Committed by Boris Brezillon
Browse files

mtd: mchp23k256: propagate return value of spi_sync()



The call to spi_sync() can fail.
Check the return value and propagate it.

Signed-off-by: default avatarAntonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent bf657105
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment