diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-07-15 18:00:58 -0500 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2025-07-16 12:03:18 +0200 |
commit | 553d38234091969bb28fd0841f92f5d8578daab7 (patch) | |
tree | 04c41f2692505577c714189afacbb4bc1602a98c /scripts/lib/kdoc/kdoc_parser.py | |
parent | 4ad9e44c76b301e786eb4cdab890eac8c7eebd42 (diff) |
mmc: loongson2: Fix error code in loongson2_mmc_resource_request()
There is a cut and paste bug so we accidentally return the wrong
variable. It should be "ret" instead of PTR_ERR(host->clk).
Fixes: 2115772014bd ("mmc: loongson2: Add Loongson-2K SD/SDIO controller driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Binbin Zhou <zhoubinbin@loongson.cn>
Link: https://lore.kernel.org/r/847bf395-6d62-49c9-a39d-8e82c5b17bf7@sabinyo.mountain
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions