Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fe8c2bc authored by Eric Miao's avatar Eric Miao
Browse files

[ARM] pxa: allow MFP_LPM_INPUT to be explicitly specified



Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent c09f431c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ static int __mfp_config_gpio(unsigned gpio, unsigned long c)
		PGSR(bank) &= ~mask;
		is_out = 1;
		break;
	case MFP_LPM_INPUT:
	case MFP_LPM_DEFAULT:
		break;
	default:
+1 −0
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ static const unsigned long mfpr_lpm[] = {
	MFPR_LPM_PULL_LOW,
	MFPR_LPM_PULL_HIGH,
	MFPR_LPM_FLOAT,
	MFPR_LPM_INPUT,
};

/* mapping of MFP_PULL_* definitions to MFPR_PULL_* register bits */