]> www.infradead.org Git - users/jedix/linux-maple.git/commit
extcon: intel-mrfld: Sync hardware and software state on init
authorFerry Toth <ftoth@exalondelft.nl>
Tue, 18 May 2021 21:27:09 +0000 (23:27 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 25 May 2021 15:16:21 +0000 (00:16 +0900)
commit1f4747b2b14947f6363b977d30889b00afae3d81
tree5a377576ea35011157c9d4e311f7ba88a07efc09
parentd07f6ca923ea0927a1024dfccafc5b53b61cfecc
extcon: intel-mrfld: Sync hardware and software state on init

extcon driver for Basin Cove PMIC shadows the switch status used for dwc3
DRD to detect a change in the switch position. This change initializes the
status at probe time.

Cc: stable@vger.kernel.org
Fixes: 492929c54791 ("extcon: mrfld: Introduce extcon driver for Basin Cove PMIC")
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-intel-mrfld.c