Skip to content
Commit da8e1f3c authored by Ye Li's avatar Ye Li Committed by Peng Fan
Browse files

mmc: fsl_esdhc: Fix wp_enable issue



The wp-gpios property is used for gpio, if this is set, the WP pin is muxed
to gpio function, can't be used as internal WP checking. However the codes
remain to use internal WP checking.

This patch changes to examine the "fsl,wp-controller" for enabling internal WP
checking, and "wp-gpios" for muxing to gpio.

Signed-off-by: default avatarYe Li <ye.li@nxp.com>
parent 72a89e0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment