From cbb28f6b3b38eaaf0b940cc3a99501a63bd96107 Mon Sep 17 00:00:00 2001 From: Paul Walmsley Date: Wed, 2 May 2007 17:32:32 +0000 Subject: [PATCH] ARM: OMAP: omap2_get_clksel(): fix suspicious assignment mach-omap2/clock.c contains a suspicious assignment that almost certainly should be a equality test, in omap2_get_clksel(). Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index 03065074f80..f19e2387e20 100644 --- a/arch/arm/mach-omap2/clock.c +++ b/arch/arm/mach-omap2/clock.c @@ -651,7 +651,7 @@ static u32 omap2_get_clksel(u32 *div_sel, u32 *field_mask, break; case CM_SYSCLKOUT_SEL1: div_addr = (u32)&PRCM_CLKOUT_CTRL; - if ((div_off == 3) || (div_off = 11)) + if ((div_off == 3) || (div_off == 11)) mask= 0x3; break; case CM_CORE_SEL1: -- 2.41.1