mx31_3ds: Fix the logic for detecting the debug board
authorRogerio Pimentel <rpimentel.silva@gmail.com>
Mon, 25 Oct 2010 14:54:24 +0000 (12:54 -0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 26 Oct 2010 14:11:06 +0000 (16:11 +0200)
commitb8be7b9a6d3c7b63df9fc356a81288d5404ff505
treee993c100c30c7d7beeff5a1d149b570a842457ab
parent1e9aed156b7bc42311370b155f73ee5961b8557d
mx31_3ds: Fix the logic for detecting the debug board

The function mxc_expio_init returns 0 on success, so fix the logic for
printing the error case.
Also fixed the wording on the error message.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx3/mach-mx31_3ds.c