mediatek: unlock on error in mtk_tx_map()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 15 Mar 2016 07:19:04 +0000 (10:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Mar 2016 22:28:11 +0000 (18:28 -0400)
commit48e77422a3cb74e04384090e21235f4916278373
treeaed29f3d5d617149b2e0255c63749913f3edddbc
parent977bc20cf66367a530d17696f7e1783510a115b7
mediatek: unlock on error in mtk_tx_map()

There was a missing unlock on the error path.

Fixes: 656e705243fd ('net-next: mediatek: add support for MT7623 ethernet')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: John Crispin <blogic@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c