summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2022-12-29 15:10:30 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2023-01-09 11:43:51 +0300
commit23257cfc1cb7202fd0065e9f4a6a0aac1c04c4a9 (patch)
tree87412359132f5c2c93d1e77e271d8ff294d29d3d /io_uring
parentc28f3d80383571d3630df1a0e89500d23e855924 (diff)
downloadlinux-23257cfc1cb7202fd0065e9f4a6a0aac1c04c4a9.tar.xz
thunderbolt: Do not call PM runtime functions in tb_retimer_scan()
We cannot call PM runtime functions in tb_retimer_scan() because it will also be called when retimers are scanned from userspace (happens when there is no device connected on ChromeOS for instance) and at the same USB4 port runtime resume hook. This leads to hang because neither can proceed. Fix this by runtime resuming USB4 ports in tb_scan_port() instead. This makes sure the ports are runtime PM active when retimers are added under it while avoiding the reported hang as well. Reported-by: Utkarsh Patel <utkarsh.h.patel@intel.com> Fixes: 1e56c88adecc ("thunderbolt: Runtime resume USB4 port when retimers are scanned") Cc: stable@vger.kernel.org Acked-by: Yehezkel Bernat <YehezkelShB@gmail.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions