Commit 21f56121 authored by Hans de Goede's avatar Hans de Goede Committed by Badhri Jagan Sridharan
Browse files

UPSTREAM: usb: typec: altmodes/displayport: Make dp_altmode_notify() more generic



Make dp_altmode_notify() handle the dp->data.conf == 0 case too,
rather then having separate code-paths for this in various places
which call it.

Bug: 253534975
Bug: 260915739
Reviewed-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Tested-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Change-Id: I621216ad55cf9b0298b3124520128e4d0e67b378
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
Link: https://lore.kernel.org/r/20210817215201.795062-8-hdegoede@redhat.com
(cherry picked from commit fc27e046)
parent 0210faf7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment