kernel: bump 4.14 to 4.14.152
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.14 / 950-0436-Revert-rtc-pcf8523-properly-handle-oscillator-stop-b.patch
index 5ebb2a06cb933f61103316fd2a924ac83a9bb0b6..06e1ea853be53cb29e7ad381d7eaa6198e397bab 100644 (file)
@@ -15,7 +15,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
 
 --- a/drivers/rtc/rtc-pcf8523.c
 +++ b/drivers/rtc/rtc-pcf8523.c
-@@ -198,8 +198,28 @@ static int pcf8523_rtc_read_time(struct
+@@ -209,8 +209,28 @@ static int pcf8523_rtc_read_time(struct
        if (err < 0)
                return err;
  
@@ -46,7 +46,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  
        tm->tm_sec = bcd2bin(regs[0] & 0x7f);
        tm->tm_min = bcd2bin(regs[1] & 0x7f);
-@@ -235,7 +255,6 @@ static int pcf8523_rtc_set_time(struct d
+@@ -246,7 +266,6 @@ static int pcf8523_rtc_set_time(struct d
                return err;
  
        regs[0] = REG_SECONDS;