git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'work.misc' and 'work.dcache' of git://git.kernel.org/pub/scm/linux...
[sfrench/cifs-2.6.git]
/
drivers
/
usb
/
typec
/
tcpm.c
diff --git
a/drivers/usb/typec/tcpm.c
b/drivers/usb/typec/tcpm.c
index 150f43668bec1c8757115126ad9ffd20fe1255ed..d1d20252bad86889bb87b7f755545020abd6b0ea 100644
(file)
--- a/
drivers/usb/typec/tcpm.c
+++ b/
drivers/usb/typec/tcpm.c
@@
-2140,7
+2140,7
@@
static unsigned int tcpm_pd_select_pps_apdo(struct tcpm_port *port)
* PPS APDO. Again skip the first sink PDO as this will
* always be 5V 3A.
*/
- for (j =
i
; j < port->nr_snk_pdo; j++) {
+ for (j =
1
; j < port->nr_snk_pdo; j++) {
pdo = port->snk_pdo[j];
switch (pdo_type(pdo)) {