]> git.baikalelectronics.ru Git - kernel.git/commit
usb: typec: intel_pmc_mux: Handle SCU IPC error conditions
authorMadhusudanarao Amara <madhusudanarao.amara@intel.com>
Wed, 16 Sep 2020 09:11:02 +0000 (12:11 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Sep 2020 11:09:31 +0000 (13:09 +0200)
commit04758517616c91c7e66564d9a18af1c600f06475
treed8d77241cd419efc4420cc717547378e2ee6bf3a
parentc224a516d4fb8eea147fd988e049d094536884eb
usb: typec: intel_pmc_mux: Handle SCU IPC error conditions

Check and return if there are errors. The response bits are valid
only on no errors.

Fixes: c47c01ff48b0 ("usb: typec: intel_pmc_mux: Definitions for response status bits")
Signed-off-by: Madhusudanarao Amara <madhusudanarao.amara@intel.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200916091102.27118-4-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux/intel_pmc_mux.c