Merge branch 'stable-3.2' into pandora-3.2
[pandora-kernel.git] / drivers / rtc / rtc-pl031.c
index 73816d8..1f94073 100644 (file)
@@ -344,7 +344,9 @@ static int pl031_probe(struct amba_device *adev, const struct amba_id *id)
        /* Enable the clockwatch on ST Variants */
        if (ldata->hw_designer == AMBA_VENDOR_ST)
                data |= RTC_CR_CWEN;
-       writel(data | RTC_CR_EN, ldata->base + RTC_CR);
+       else
+               data |= RTC_CR_EN;
+       writel(data, ldata->base + RTC_CR);
 
        /*
         * On ST PL031 variants, the RTC reset value does not provide correct