diff options
| author | Badhri Jagan Sridharan <badhri@google.com> | 2017-08-28 10:23:12 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-29 08:21:10 +0200 |
| commit | 9b0ae69909c2813e61f5c747a1508497ce35d71b (patch) | |
| tree | 840d448711ec1d91cb9c363572a5c19656f9abd8 /scripts/gdb/linux/utils.py | |
| parent | a033c3b10a2bec387ccd9e39fadd94eef6519626 (diff) | |
staging: typec: tcpm: set port type callback
The port type callback call enquires the tcpc_dev if
the requested port type is supported. If supported, then
performs a tcpm reset if required after setting the tcpm
internal port_type variable.
Check against the tcpm port_type instead of checking
against caps.type as port_type reflects the current
configuration.
Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
