diff options
author | Tony Lindgren <tony@atomide.com> | 2021-02-18 14:06:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-10 14:36:07 +0300 |
commit | 4c875e034dfb25d121c475a7b941a85d9a9d9624 (patch) | |
tree | 1b1b155878e55542dc624f98537bc22d292b1852 /drivers/platform/x86/intel_scu_pcidrv.c | |
parent | 5c6f778e8f7de98fcfe523738aed5900df55c218 (diff) | |
download | linux-4c875e034dfb25d121c475a7b941a85d9a9d9624.tar.xz |
bus: ti-sysc: Fix warning on unbind if reset is not deasserted
[ Upstream commit a7b5d7c4969aba8d1f04c29048906abaa71fb6a9 ]
We currently get thefollowing on driver unbind if a reset is configured
and asserted:
WARNING: CPU: 0 PID: 993 at drivers/reset/core.c:432 reset_control_assert
...
(reset_control_assert) from [<c0fecda8>] (sysc_remove+0x190/0x1e4)
(sysc_remove) from [<c0a2bb58>] (platform_remove+0x24/0x3c)
(platform_remove) from [<c0a292fc>] (__device_release_driver+0x154/0x214)
(__device_release_driver) from [<c0a2a210>] (device_driver_detach+0x3c/0x8c)
(device_driver_detach) from [<c0a27d64>] (unbind_store+0x60/0xd4)
(unbind_store) from [<c0546bec>] (kernfs_fop_write_iter+0x10c/0x1cc)
Let's fix it by checking the reset status.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/platform/x86/intel_scu_pcidrv.c')
0 files changed, 0 insertions, 0 deletions