]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
thunderbolt: Retry DROM read once if parsing fails
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 7 Sep 2020 09:20:36 +0000 (12:20 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 9 Sep 2020 11:00:56 +0000 (14:00 +0300)
commitf022ff7bf377ca94367be05de61277934d42ea74
tree27457062ea9819cfda2933c8b05159486ae189aa
parent813050e0a9b871ac575abfd3d321f74916df609d
thunderbolt: Retry DROM read once if parsing fails

Kai-Heng reported that sometimes DROM parsing of ASUS PA27AC Thunderbolt 3
monitor fails. This makes the driver to fail to add the device so only
DisplayPort tunneling is functional.

It is not clear what exactly happens but waiting for 100 ms and retrying
the read seems to work this around so we do that here.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=206493
Reported-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/eeprom.c