Commit 7f4608cc authored by Maureen Helm's avatar Maureen Helm Committed by Kumar Gala
Browse files

gpio: Fix imx driver edge selection when configuring by port



Fixes a copy-paste error found by Coverity.

Coverity-CID: 186028

Signed-off-by: default avatarMaureen Helm <maureen.helm@nxp.com>
parent a59f544f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ static int imx_gpio_configure(struct device *dev,
		for (i = 0; i < 32; i++) {
			pin_config.pin = i;
			GPIO_Init(config->base, &pin_config);
			GPIO_SetIntEdgeSelect(config->base, pin, double_edge);
			GPIO_SetIntEdgeSelect(config->base, i, double_edge);
		}
	}