From: Greg Kroah-Hartman Date: Thu, 20 Feb 2025 08:00:05 +0000 (+0100) Subject: Merge tag 'mhi-fixes-for-v6.14' of ssh://gitolite.kernel.org/pub/scm/linux/kernel... X-Git-Tag: v6.14-rc6~4^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6d306090ea23d94783b0e77ecb63bea566fb8da3;p=thirdparty%2Fkernel%2Flinux.git Merge tag 'mhi-fixes-for-v6.14' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mani/mhi into char-misc-linus Manivannan writes: MHI Host ======== - Use pci_try_reset_function() to reset the MHI function during recovery process to avoid the deadlock reported on the X1E80100 CRD device. The deadlock can happen if the caller has already acquired the 'device_lock()' while calling the recovery function. So using pci_try_reset_function() avoids the deadlock by returning -EAGAIN if the lock was already acquired. * tag 'mhi-fixes-for-v6.14' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mani/mhi: bus: mhi: host: pci_generic: Use pci_try_reset_function() to avoid deadlock --- 6d306090ea23d94783b0e77ecb63bea566fb8da3