Modify

Opened 6 years ago

Last modified 4 years ago

#11267 new defect

[PATCH] package/rtc-rv5c386a not working on wl-hdd

Reported by: b.sander Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: RTC BATTERY FAILURE wl-hdd rv5c386a Cc:

Description

Hi,

invoking hwclock gives this error on wl-hdd

[   67.828000] RV5C386A Real Time Clock Driver loaded
[  120.392000] b44 ssb0:5: eth1: Link is up at 100 Mbps, full duplex
[  120.392000] b44 ssb0:5: eth1: Flow control is off for TX and off for RX
[  123.044000] device eth1 entered promiscuous mode
[  123.352000] br-lan: port 1(eth1) entering forwarding state
[  123.356000] br-lan: port 1(eth1) entering forwarding state
[  250.448000] ***RTC BATTERY FAILURE***

This patch fix it on wl-hdd, but i can't test it with a wl-700 - anyone?

Index: package/rtc-rv5c386a/src/rtc.c
===================================================================
--- package/rtc-rv5c386a/src/rtc.c	(Revision 31236)
+++ package/rtc-rv5c386a/src/rtc.c	(Arbeitskopie)
@@ -103,7 +103,7 @@
 
 static inline void sdalo(void)
 {
-	gpio_direction_output(sda_index, 1);
+	gpio_direction_output(sda_index, 0);
 	udelay(ADAP_DELAY);
 }
 
@@ -115,7 +115,7 @@
 
 static inline void scllo(void)
 {
-   gpio_direction_output(scl_index, 1);
+   	gpio_direction_output(scl_index, 0);
 	udelay(ADAP_DELAY);
 }
 

Regards,
b.sander

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.