]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: spi-nor: fix stm_is_locked_sr() parameters
authorBrian Norris <computersforpeace@gmail.com>
Tue, 15 Dec 2015 18:48:21 +0000 (10:48 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 6 Jan 2016 00:00:41 +0000 (16:00 -0800)
commita32d5b726ff8cf32bf491522b0ac8ae2545a063e
treec8621a5503e3495c6f6223695dff6dc77234a35c
parent67b9bcd36906e12a15ffec19463afbbd6a41660e
mtd: spi-nor: fix stm_is_locked_sr() parameters

stm_is_locked_sr() takes the status register (SR) value as the last
parameter, not the second.

Reported-by: Bayi Cheng <bayi.cheng@mediatek.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: Bayi Cheng <bayi.cheng@mediatek.com>
drivers/mtd/spi-nor/spi-nor.c