usb: typec: ucsi: Always cancel the command if PPM reports BUSY condition
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Mon, 20 Sep 2021 14:24:13 +0000 (17:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 10:42:37 +0000 (12:42 +0200)
commit094902bc6a3c831262c12d0c2095af6a5eb62eef
treeaefc5b71a80b3d7365d1202f15f060c2623fad1d
parentb53908f9a21424ae6982c93746f4ff5af4bfcb32
usb: typec: ucsi: Always cancel the command if PPM reports BUSY condition

This makes it possible to execute next command immediately
after the busy condition.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20210920142419.54493-2-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi.c