aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorSergey Yanovich <ynvich@gmail.com>2009-03-26 08:58:21 -0400
committerLen Brown <len.brown@intel.com>2009-03-27 12:19:31 -0400
commit3ad1b7619959c0387a30e05c6f36537190b6da7b (patch)
tree0b434defc153673db72b6e459c625f6cc8fcdc69 /drivers/platform
parentd5b02695d5471b38064efeba2b102bd5ead55297 (diff)
sony-laptop: notify the hardware of a state change in wwanpower
Signed-off-by: Sergey Yanovich <ynvich@gmail.com> Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/sony-laptop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index 5030f991906a..74df72321aeb 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -2004,6 +2004,7 @@ static void sony_pic_set_wwanpower(u8 state)
2004 return; 2004 return;
2005 } 2005 }
2006 sony_pic_call2(0xB0, state); 2006 sony_pic_call2(0xB0, state);
2007 sony_pic_call1(0x82);
2007 spic_dev.wwan_power = state; 2008 spic_dev.wwan_power = state;
2008 mutex_unlock(&spic_dev.lock); 2009 mutex_unlock(&spic_dev.lock);
2009} 2010}