Changeset 4045


Ignore:
Timestamp:
02/11/08 01:20:15 (5 years ago)
Author:
werner
Message:

fix-pcf50633-LOWBAT-kill-init.patch

(Corrected a & vs. == precedence inversion.)

From: Andy Green <andy@…>

Until now the driver treats LOWBAT as a fatal crisis and responds
by going postal on init. But the driver didn't think that we can
have adapter or USB power and no battery, which is fine.

This patch reserves the crisis behaviour for when we have no
adapter / USB power and just acknowledges the PMU exception when
we do.

Signed-off-by: Andy Green <andy@…>

---

drivers/i2c/chips/pcf50633.c | 24 +++++++++++++++++-------
1 files changed, 17 insertions(+), 7 deletions(-)

Location:
branches/src/target/kernel/2.6.24.x/patches
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/src/target/kernel/2.6.24.x/patches/series

    r4044 r4045  
    7777introduce-fiq-use-timer3-as-source.patch 
    7878introduce-fiq-migrate-vibrator-gta02-only.patch 
     79fiq-hdq.patch 
     80#bq27000-battery-driver.patch 
    7981 
    8082# OE patches 
    81 fiq-hdq.patch 
    8283fix-EVIOCGRAB-semantics.patch 
    8384iis-suspend.patch 
     
    9495fix-hwecc-2410.patch 
    9596 
     97# this may not be the last word on this issue, but the patch certainly helps 
     98fix-pcf50633-LOWBAT-kill-init.patch 
     99 
    96100# leapfrogged from upstream 
    97101kexec-atags.patch 
Note: See TracChangeset for help on using the changeset viewer.