diff options
author | Shuai Jiang <d202180596@hust.edu.cn> | 2023-04-18 21:56:12 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-06-23 12:58:24 +0200 |
commit | cd9489623c29aa2f8cc07088168afb6e0d5ef06d (patch) | |
tree | f25cfcc76819d7d47f09c81d29ce2919b6d21c97 /drivers/connector | |
parent | bd5c7104d41b62a2ae5d7f11d07e7c5f232eee42 (diff) | |
download | linux-stable-cd9489623c29aa2f8cc07088168afb6e0d5ef06d.tar.gz linux-stable-cd9489623c29aa2f8cc07088168afb6e0d5ef06d.tar.bz2 linux-stable-cd9489623c29aa2f8cc07088168afb6e0d5ef06d.zip |
i2c: qup: Add missing unwind goto in qup_i2c_probe()
Smatch Warns:
drivers/i2c/busses/i2c-qup.c:1784 qup_i2c_probe()
warn: missing unwind goto?
The goto label "fail_runtime" and "fail" will disable qup->pclk,
but here qup->pclk failed to obtain, in order to be consistent,
change the direct return to goto label "fail_dma".
Fixes: 9cedf3b2f099 ("i2c: qup: Add bam dma capabilities")
Signed-off-by: Shuai Jiang <d202180596@hust.edu.cn>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Cc: <stable@vger.kernel.org> # v4.6+
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions