usb: typec: mux: a few improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | usb: typec: mux: Use device type instead of device name for matchingdrivers/ drivers/ | +16 | 2 replies | |
| 2/2 | usb: typec: mux: Remove requirement for the "orientation-switch" device propertydrivers/ | +0 | 6 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Hans de Goede |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] usb: typec: mux: a few improvements
Hi,
The first patch should be trivial cleanup, but in the second one I'm removing the condition that in practice forces the orientation switch to always have the device property named "orientation-switch". This change only impacts connections described with device graph since only in that case the callback function is supplied with the "id" parameter which is the first part of the condition (if the id is not supplied, the function also does not expect the device property to exist).
But when the connection between the connector and the switch is described with device graph, I don't see any need for that device property. Therefore let's just remove the condition and the requirement for the device property with it.
thanks,
Heikki Krogerus (2):
usb: typec: mux: Use device type instead of device name for matching
usb: typec: mux: Remove requirement for the "orientation-switch"
device property
drivers/usb/typec/mux.c | 29 ++++++++++------------------- drivers/usb/typec/mux.h | 6 ++++++ 2 files changed, 16 insertions(+), 19 deletions(-)
Signature · 1 line
2.30.2