usb: typec: ucsi: Don't stop alt mode registration on busy condition
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Mon, 20 Sep 2021 14:24:14 +0000 (17:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 10:42:37 +0000 (12:42 +0200)
commit47eb8de3bbde346b880bb65ef0abe907d7fd6438
tree3c0200c023eb3c8f376f681fd77e0522157dcf63
parent094902bc6a3c831262c12d0c2095af6a5eb62eef
usb: typec: ucsi: Don't stop alt mode registration on busy condition

If the PPM says it's busy, we can now simply try again.

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