diff options
| author | Jack Pham <jackp@codeaurora.org> | 2016-07-20 09:51:33 -0700 |
|---|---|---|
| committer | Jack Pham <jackp@codeaurora.org> | 2016-07-20 09:51:33 -0700 |
| commit | f33cac01f3495d2980206bcdfe07d8c955e6a40e (patch) | |
| tree | d30bcd518242ec3315a285bcff6f8807235219e1 /kernel/locking/mutex-debug.c | |
| parent | 7eb20e5733b82473d2d1e9e59aa42989e73f3c70 (diff) | |
usb: pd: Don't notify EXTCON_USB unless type is SDP or CDP
commit 77f6fd80444c ("usb: pd: Add support to notify plug
orientation via extcon") added an additional extcon notifier
to indicate orientation. But for the PE_SNK_STARTUP case
the change inadvertently notifies EXTCON_USB for all sink
states when it should just be for psy_type==USB|USB_CDP.
Add the missing curly braces to the if statement.
Change-Id: I19d424ff0d46cc0134210424a7d431b331cbf963
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions
