thunderbolt: Enable plug events
authorAndreas Noever <andreas.noever@gmail.com>
Tue, 3 Jun 2014 20:04:04 +0000 (22:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 21:07:47 +0000 (14:07 -0700)
commitca389f716f6140d5349583a716bc629d63b06b1f
treeee992c95fce4c62d721d1df9c55477b7d82802a4
parente2b8785ed312dad3a18279a3e88435fc269658c1
thunderbolt: Enable plug events

Thunderbolt switches have a plug events capability. This patch adds the
tb_plug_events_active method and uses it to activate plug events during
switch allocation.

Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.h