diff options
| author | Dan Carpenter <[email protected]> | 2025-07-15 23:00:58 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2025-07-16 10:03:18 +0000 |
| commit | 553d38234091969bb28fd0841f92f5d8578daab7 (patch) | |
| tree | 04c41f2692505577c714189afacbb4bc1602a98c /drivers/platform/x86/intel/pmt/class.c | |
| parent | dt-bindings: mmc: sdhci-msm: document the Milos SDHCI Controller (diff) | |
| download | kernel-553d38234091969bb28fd0841f92f5d8578daab7.tar.gz kernel-553d38234091969bb28fd0841f92f5d8578daab7.zip | |
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 <[email protected]>
Reviewed-by: Binbin Zhou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
