]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "usb: typec: mux: Remove requirement for the "orientation-switch" device property"
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 2 Jun 2021 11:22:53 +0000 (14:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Jun 2021 14:40:43 +0000 (16:40 +0200)
commite7f3f456870dbe1e0e981b5b78483d418f6f6c3c
tree5e53d0ae190abd2335973eafeff2a97fd9aa2899
parent903d4da386f43226ac9dfe9eb5272799774948e0
Revert "usb: typec: mux: Remove requirement for the "orientation-switch" device property"

This reverts commit 078d18dc9f5d5394b0f8c6aef6b6e9add193d588.

The device property that can be used to identify the device
class/type of the remote port parent when device graph is
used is always needed after all. Without it there is no real
way to know is the requested connection actually described
in the device graph or not.

If the connection is described in the device graph but the
device instance is still missing for what ever reason, the
code defers probe for now.

Adding a comment to the code to explain this.

Reviewed-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20210602112253.70200-1-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux.c