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

Commit 609455f4 authored by Fabio Estevam's avatar Fabio Estevam Committed by Dmitry Torokhov
Browse files

Input: imx_keypad - fix missing clk conversions



commit a1e636e6 (Input: imx_keypad - use clk_prepare_enable/
clk_disable_unprepare()) missed to update clk_enable/clk_disable
in imx_keypad_probe().

Fix it so that we do not get clk warnings at boot.

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 037a833e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -516,9 +516,9 @@ static int __devinit imx_keypad_probe(struct platform_device *pdev)
	input_set_drvdata(input_dev, keypad);

	/* Ensure that the keypad will stay dormant until opened */
	clk_enable(keypad->clk);
	clk_prepare_enable(keypad->clk);
	imx_keypad_inhibit(keypad);
	clk_disable(keypad->clk);
	clk_disable_unprepare(keypad->clk);

	error = request_irq(irq, imx_keypad_irq_handler, 0,
			    pdev->name, keypad);