Revision: 757
http://svn.sourceforge.net/hackndev/?rev=757&view=rev
Author: bobofdoom
Date: 2007-01-13 03:31:46 -0800 (Sat, 13 Jan 2007)
Log Message:
-----------
palmt650: Added reset of phone module on boot.
Modified Paths:
--------------
linux4palm/linux/trunk/drivers/leds/leds-palmt650.c
Modified: linux4palm/linux/trunk/drivers/leds/leds-palmt650.c
===================================================================
--- linux4palm/linux/trunk/drivers/leds/leds-palmt650.c 2007-01-13 09:43:38 UTC (rev 756)
+++ linux4palm/linux/trunk/drivers/leds/leds-palmt650.c 2007-01-13 11:31:46 UTC (rev 757)
@@ -147,6 +147,12 @@
/* enable red LED + keypad control, possibly GPIO related reg. */
asic6_write(0x12, 0xe3);
+ /* FIXME: should be moved to seperate phone driver */
+ printk("Attempting to reset phone module...\n");
+ asic6_write(0x48, asic6_read(0x48) & ~0x40);
+ msleep(5);
+ asic6_write(0x48, asic6_read(0x48) | 0x40);
+
return ret;
vibra_err:
led_classdev_unregister(&palmt650_keypad_led);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|