[PATCH] STM/MCI: Fix wrong register bit
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Sun Dec 5 05:50:28 EST 2010
On Fri, Dec 03, 2010 at 02:59:50PM +0100, Juergen Beisert wrote:
>
Maybe add something like: "The define isn't used up to now, so the wrong
offset didn't stick out before. For the same reason this fix isn't
critical." to the changelog?
Uwe
> Signed-off-by: Juergen Beisert <jbe at pengutronix.de>
> ---
> drivers/mci/stm378x.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: barebox-git/drivers/mci/stm378x.c
> ===================================================================
> --- barebox-git.orig/drivers/mci/stm378x.c
> +++ barebox-git/drivers/mci/stm378x.c
> @@ -52,7 +52,7 @@
> # define SSP_CTRL0_SFTRST (1 << 31)
> # define SSP_CTRL0_CLKGATE (1 << 30)
> # define SSP_CTRL0_RUN (1 << 29)
> -# define SSP_CTRL0_LOCK_CS (1 << 29)
> +# define SSP_CTRL0_LOCK_CS (1 << 27)
> # define SSP_CTRL0_READ (1 << 25)
> # define SSP_CTRL0_IGNORE_CRC (1 << 26)
> # define SSP_CTRL0_DATA_XFER (1 << 24)
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the barebox
mailing list