Skip to content

Commit

Permalink
drivers: usb: dont compile TypeC by default
Browse files Browse the repository at this point in the history
* Tie it into the PIE modem rev config (Since it is only used by the FE)

Previous comment :
* For some reason N935F Source forces compilation of this driver which we do not support
- requires CCIC notifier and other dependencies to work

This breaks half of the USB in OneUI Roms including selecting different USB Modes (File transfare, USB tethering etc)

Signed-off-by: ananjaser1211 <[email protected]>
  • Loading branch information
ananjaser1211 committed Jun 18, 2020
1 parent d19066c commit 1aeb50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/typec/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ menu "USB Power Delivery and Type-C drivers"

config TYPEC
tristate
default y
default y if MODEM_PIE_REV
depends on ANDROID_MAJOR_VERSION != "n"
depends on ANDROID_MAJOR_VERSION != "o"

Expand Down

0 comments on commit 1aeb50e

Please sign in to comment.