summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/switch.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2017-12-19 12:44:56 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2018-03-09 12:54:09 +0300
commitf2a659f7d8d5da803836583aa16df06bdf324252 (patch)
treec759f5e7acc8da524d0a5e5b9922cbab41fc0bc0 /drivers/thunderbolt/switch.c
parent661e50bc853209e41a5c14a290ca4decc43cbfd1 (diff)
downloadop-kernel-dev-f2a659f7d8d5da803836583aa16df06bdf324252.zip
op-kernel-dev-f2a659f7d8d5da803836583aa16df06bdf324252.tar.gz
thunderbolt: Resume control channel after hibernation image is created
The driver misses implementation of PM hook that undoes what ->freeze_noirq() does after the hibernation image is created. This means the control channel is not resumed properly and the Thunderbolt bus becomes useless in later stages of hibernation (when the image is stored or if the operation fails). Fix this by pointing ->thaw_noirq to driver nhi_resume_noirq(). This makes sure the control channel is resumed properly. Fixes: 23dd5bb49d98 ("thunderbolt: Add suspend/hibernate support") Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/thunderbolt/switch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud