]> git.sur5r.net Git - u-boot/commit
spi: spi_flash: do not fail silently on bad user input
authorLiam Beguin <liambeguin@gmail.com>
Wed, 14 Mar 2018 23:15:10 +0000 (19:15 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 22 Mar 2018 17:25:20 +0000 (13:25 -0400)
commitaa1ced7f09798700f3d96f39f6f5dc7d3d34cf66
treeb560e8d0ca320eb3b1938b6fdbd39c3deae89ee0
parent5473eb6d153929f67b45ec0f7f664ac7f98c494c
spi: spi_flash: do not fail silently on bad user input

Make sure the user is notified instead of silently returning an error.

Signed-off-by: Liam Beguin <liambeguin@gmail.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
drivers/mtd/spi/spi_flash.c