diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-07-03 12:54:28 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-07-03 13:39:09 +0200 |
commit | 81667e9c8ad827365f2d1e8b924caf062a19c593 (patch) | |
tree | 87f717210124729e347eae8362bebaf720ab9405 /kernel/sys.c | |
parent | mtd: nand: mtk: add ->setup_data_interface() hook (diff) | |
download | linux-81667e9c8ad827365f2d1e8b924caf062a19c593.tar.xz linux-81667e9c8ad827365f2d1e8b924caf062a19c593.zip |
mtd: nand: mtk: release lock on error path
We only want to hold the lock on the success path, not this error path.
Fixes: 7ec4a37c5d71 ("mtd: nand: mediatek: add support for different MTK NAND FLASH Controller IP")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions