diff options
author | 2025-04-09 14:00:20 +0300 | |
---|---|---|
committer | 2025-04-17 11:51:29 +0200 | |
commit | bd897149e40cb5c95f3d8546108035d1ea167db5 (patch) | |
tree | a9e1e0eaa72a2a9c3beecb942cd5c70c142e718d /scripts/lib/kdoc/kdoc_parser.py | |
parent | pwm: loongson: Fix u32 overflow in waveform calculation (diff) | |
download | linux-rng-bd897149e40cb5c95f3d8546108035d1ea167db5.tar.xz linux-rng-bd897149e40cb5c95f3d8546108035d1ea167db5.zip |
pwm: loongson: Fix an error code in probe()
There is a copy and paste bug so we accidentally returned
PTR_ERR(ddata->clk) instead of "ret".
Fixes: 2b62c89448dd ("pwm: Add Loongson PWM controller support")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Binbin Zhou <zhoubinbin@loongson.cn>
Link: https://lore.kernel.org/r/6965a480-745c-426f-b17b-e96af532578f@stanley.mountain
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions