commit | b97fa0b54447107e572ac7ba6ad0f0fd64170104 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Nov 06 14:33:09 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 06 21:19:59 2019 -0800 |
tree | b7d570412f8d0f54e6aed08b3618885b17d5046f | |
parent | d0d605c5e10af0714b7b7ed5e4d3918b308c28c0 [diff] |
ptp: ptp_clockmatrix: Fix missing unlock on error in idtcm_probe() Add the missing unlock before return from function idtcm_probe() in the error handling case. Fixes: 3a6ba7dc7799 ("ptp: Add a ptp clock driver for IDT ClockMatrix.") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Vincent Cheng <vincent.cheng.xh@renesas.com> Signed-off-by: David S. Miller <davem@davemloft.net>