summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2018-02-09 17:29:38 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2018-03-09 12:54:09 +0300
commit79fae987518a3aa6c3c7b2e3ad5fe1e4080c12bc (patch)
tree49915c863ee7d788869caa51d004947fbad541ea /usr
parenta03e828915c00ed0ea5aa40647c81472cfa7a984 (diff)
downloadlinux-79fae987518a3aa6c3c7b2e3ad5fe1e4080c12bc.tar.xz
thunderbolt: Handle connecting device in place of host properly
If the system is suspended and user disconnects cable to another host and connects it to a Thunderbolt device instead we get a warning from driver core about adding duplicate sysfs attribute and adding the new device fails. Handle this properly so that we first remove the existing XDomain connection before adding new devices. Fixes: d1ff70241a27 ("thunderbolt: Add support for XDomain discovery protocol") Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions