]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
thunderbolt: Factor common ICM add and update operations out
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 28 Mar 2018 12:31:15 +0000 (20:31 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 28 Mar 2018 17:44:47 +0000 (12:44 -0500)
commit210f2eb5f18893a491d9698ccd16a7bef76e0248
tree9ec1b3456cc6a2967b497e2151df25af5743e5b6
parent38604142f7b2502d23c00dd8818c09a7bc335de9
thunderbolt: Factor common ICM add and update operations out

BugLink: http://bugs.launchpad.net/bugs/1730775
The newer ICM will not use link and depth to address devices. Instead it
uses route strings. In order to take advantage of the existing code
factor out common operations so that we can use the same functions with
the new ICM as well.

No functional changes intended.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
(cherry picked from commit ee487dd2447a43dd318bd7ba2c54e59e707ad851 linux-next)
Signed-off-by: Anthony Wong <anthony.wong@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/thunderbolt/icm.c