diff options
| author | Colin Ian King <colin.i.king@gmail.com> | 2025-09-02 14:03:48 +0100 |
|---|---|---|
| committer | Uwe Kleine-König <ukleinek@kernel.org> | 2025-09-15 11:39:43 +0200 |
| commit | afe872274edc7da46719a2029bfa4eab142b15f6 (patch) | |
| tree | e29caa048c5526b9d85edddef0c754afc9a227d6 /rust/helpers/xarray.c | |
| parent | 3a4b9d027e4061766f618292df91760ea64a1fcc (diff) | |
pwm: Fix incorrect variable used in error message
The dev_err message is reporting the incorrect return value ret_tohw,
it should be reporting the value in ret_fromhw. Fix this by using
ret_fromhw instead of ret_tohw.
Fixes: 6c5126c6406d ("pwm: Provide new consumer API functions for waveforms")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20250902130348.2630053-1-colin.i.king@gmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions
