thunderbolt: Move driver ready handling to struct icm
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 6 Oct 2017 15:14:13 +0000 (18:14 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 9 Mar 2018 09:54:11 +0000 (12:54 +0300)
commit3080e197e936ab7cdcf66cacec22abe5c6c1007a
tree06a5fdae8ca7ac9fe66aff7bafd12f8316add634
parent0b0a0bd06ee031b0e439a11a1b15573d9845b4be
thunderbolt: Move driver ready handling to struct icm

Intel Titan Ridge uses slightly different format for ICM driver ready
response, so add a new ->driver_ready() callback to struct icm and move
the existing handling to a separate function which we then use in Falcon
Ridge and Alpine Ridge.

No functional changes intended.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/thunderbolt/icm.c
drivers/thunderbolt/tb_msgs.h