]> asedeno.scripts.mit.edu Git - linux.git/commit
thunderbolt: Print connected devices
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 1 Oct 2018 09:31:20 +0000 (12:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 22:52:08 +0000 (15:52 -0700)
commita83bc4a5e8e08c15464f0b0b79934b834911cf9c
tree706a47699c5cff10b61f355b83412f5155fea13e
parentdaa5140f7e71f513606c2e4f394b9e8b8d679661
thunderbolt: Print connected devices

The previous patch made the driver less verbose meanining that all the
switch structures and ports are now logged as debug level. However, we
have been missing similar output that USB for intance prints when a new
USB device is connected and disconnected. This information is useful for
end users as well as developers because it immediately shows the actual
device that was connected.

This patch adds printing of the actual connected devices to the driver.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Yehezkel Bernat <yehezkelshb@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/switch.c