diff options
| author | Akhil R <[email protected]> | 2025-07-10 13:12:04 +0000 |
|---|---|---|
| committer | Andi Shyti <[email protected]> | 2025-07-23 22:38:00 +0000 |
| commit | 56344e241c543f17e8102fa13466ad5c3e7dc9ff (patch) | |
| tree | c1696552cf720c3ce0aeaa7f8bbe247358fa90e9 /drivers/fpga/zynqmp-fpga.c | |
| parent | Linux 6.16-rc7 (diff) | |
| download | kernel-56344e241c543f17e8102fa13466ad5c3e7dc9ff.tar.gz kernel-56344e241c543f17e8102fa13466ad5c3e7dc9ff.zip | |
i2c: tegra: Fix reset error handling with ACPI
The acpi_evaluate_object() returns an ACPI error code and not
Linux one. For the some platforms the err will have positive code
which may be interpreted incorrectly. Use device_reset() for
reset control which handles it correctly.
Fixes: bd2fdedbf2ba ("i2c: tegra: Add the ACPI support")
Reported-by: Andy Shevchenko <[email protected]>
Signed-off-by: Akhil R <[email protected]>
Cc: <[email protected]> # v5.17+
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions
