extcon: sm5502: Fix bug to check cable type
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 30 Jul 2014 06:39:02 +0000 (15:39 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 22 Sep 2014 02:43:07 +0000 (11:43 +0900)
commit0ccc7955acc19e7f4515e51993b7b95cf5a35fdc
tree99e71187d4852bba6ce8bdb77a028bfbad9ac83b
parent9e82bf014195d6f0054982c463575cdce24292be
extcon: sm5502: Fix bug to check cable type

This patch fix bug when checking cable type. SM5502 have to use ADC value
to get correct cable type.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-sm5502.c