aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-tegra.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2021-12-03 15:19:47 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2021-12-06 22:30:34 -0500
commit3489c34bd02b73a72646037d673a122a53cee174 (patch)
treedba5854627780877d23edaa763525429d6aaae9f /drivers/gpio/gpio-tegra.c
parent1fbaa02dfd05229312404aaef8bc9317b4ff8750 (diff)
scsi: ufs: Fix a kernel crash during shutdown
Fix the following kernel crash: Unable to handle kernel paging request at virtual address ffffffc91e735000 Call trace: __queue_work+0x26c/0x624 queue_work_on+0x6c/0xf0 ufshcd_hold+0x12c/0x210 __ufshcd_wl_suspend+0xc0/0x400 ufshcd_wl_shutdown+0xb8/0xcc device_shutdown+0x184/0x224 kernel_restart+0x4c/0x124 __arm64_sys_reboot+0x194/0x264 el0_svc_common+0xc8/0x1d4 do_el0_svc+0x30/0x8c el0_svc+0x20/0x30 el0_sync_handler+0x84/0xe4 el0_sync+0x1bc/0x1c0 Fix this crash by ungating the clock before destroying the work queue on which clock gating work is queued. Link: https://lore.kernel.org/r/20211203231950.193369-15-bvanassche@acm.org Tested-by: Bean Huo <beanhuo@micron.com> Reviewed-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/gpio/gpio-tegra.c')
0 files changed, 0 insertions, 0 deletions