diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-06-16 11:36:08 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-18 16:30:42 -0700 |
commit | 155cb06c89f13af3e3e6bd520b9c62762f532d7b (patch) | |
tree | 88dfa414fe5a1082037d3b36f873d730dfabdee3 /lib/klist.c | |
parent | 246f6f2ff2c5cf46ded6d06f11f63e38bad880d1 (diff) | |
download | blackbird-op-linux-155cb06c89f13af3e3e6bd520b9c62762f532d7b.tar.gz blackbird-op-linux-155cb06c89f13af3e3e6bd520b9c62762f532d7b.zip |
extcon: Fix wrong index in max8997_extcon_cable[]
Currently, the index of "Dock-desk" and "Dock-card" are the same.
Thus the latter one overrides the first one.
Then we have problem when calling extcon_find_cable_index() because
edev->supported_cable[7] only matches "Dock-card".
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions