]> 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)
commit51753f03ba3501fdfe1a0e13d50043690c8e491b
treed8d77241cd419efc4420cc717547378e2ee6bf3a
parent012efb482f42c86d8610e510cc8295b29e965e79
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: e3bc846b41ff ("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