Kernel: Bug fix ds1302 driver, leave clk line low after reading.
authorWill Sowerbutts <will@sowerbutts.com>
Thu, 1 Jan 2015 14:33:16 +0000 (14:33 +0000)
committerWill Sowerbutts <will@sowerbutts.com>
Thu, 1 Jan 2015 14:50:05 +0000 (14:50 +0000)
Kernel/dev/ds1302.c

index 065b080..56188ce 100644 (file)
@@ -70,6 +70,7 @@ void ds1302_read_clock(uint8_t *buffer, uint8_t length)
 #endif
     }
     ds1302_set_pin_ce(false);
+    ds1302_set_pin_clk(false);
     irqrestore(irq);
 }