altera_qspi: add lock unlock ops
authorThomas Chou <thomas@wytron.com.tw>
Tue, 1 Dec 2015 09:00:22 +0000 (17:00 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Sun, 6 Dec 2015 03:31:25 +0000 (11:31 +0800)
commit421f306f2c8ced177d96704fa4cef8c6fbdc807c
tree7e84b7e9c034b361c6c28f18d0f6438a40ea9a75
parent9eed48c8bec98425dbd995dd72c40e9ad7a8c26b
altera_qspi: add lock unlock ops

Add lock() and unlock() mtd ops to altera_qspi.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Chin Liang See <clsee@altera.com>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/mtd/altera_qspi.c