projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: typec: tcpci: mark expected switch fall-through in tcpci_to_typec_cc
[linux-2.6-block.git]
/
drivers
/
staging
/
typec
/
tcpci.c
diff --git
a/drivers/staging/typec/tcpci.c
b/drivers/staging/typec/tcpci.c
index 4636804ea1a49c242fbadb7e0f67e20944350166..b6abaf79ef0b018094d2d9c03d61de13bc09d4f3 100644
(file)
--- a/
drivers/staging/typec/tcpci.c
+++ b/
drivers/staging/typec/tcpci.c
@@
-139,6
+139,7
@@
static enum typec_cc_status tcpci_to_typec_cc(unsigned int cc, bool sink)
case 0x3:
if (sink)
return TYPEC_CC_RP_3_0;
+ /* fall through */
case 0x0:
default:
return TYPEC_CC_OPEN;