summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-gfrm.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2017-06-06 14:25:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-09 11:42:43 +0200
commit2c3c4197c9dd878e39e249e1da64bcffceb8a5c4 (patch)
tree42c2c7a7c6ecf052e5dd210ae5ce26c1bd083d45 /drivers/hid/hid-gfrm.c
parentthunderbolt: Add support for NHI mailbox (diff)
downloadlinux-2c3c4197c9dd878e39e249e1da64bcffceb8a5c4.tar.xz
linux-2c3c4197c9dd878e39e249e1da64bcffceb8a5c4.zip
thunderbolt: Store Thunderbolt generation in the switch structure
In some cases it is useful to know what is the Thunderbolt generation the switch supports. This introduces a new field to struct switch that stores the generation of the switch based on the device ID. Unknown switches (there should be none) are assumed to be first generation to be on the safe side. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Yehezkel Bernat <yehezkel.bernat@intel.com> Reviewed-by: Michael Jamet <michael.jamet@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Andreas Noever <andreas.noever@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid/hid-gfrm.c')
0 files changed, 0 insertions, 0 deletions