Age | Commit message (Collapse) | Author |
|
|
|
s/though/thought/
Reported-by: Rask Ingemann Lambertsen <ccc94453@vip.cybercity.dk>
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
|
|
I'm quite sorry I sent the commit that crashes GTA01.
The fix is quite short. Fixing is easier than reverting and
fixing conflicts.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
|
|
Select CONFIG_S3C24XX_ADC by defult for GTA01/GTA02.
Somebody will hate me if I don't send this patch soon.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
|
|
Remove glamo from defconfig.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
|
|
This patch applies upstream feedback to the group filter.
The algorithms are equivalent, thus we will get the same
results after applying this patch.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
|
|
He is not reachable at the OM address.
We need the right email if we send upstream.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
|
|
General cleanups. Now we pass checkpatch.pl.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
|
|
I had a patch by Vasily Khoruzhick <anarsoul@gmail.com>
in the linux-arm-kernel as a guide for some of the changes.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
|
|
Without this patch we cannot make the s3c2410/s3c2440 touchscreen
driver work.
Is this delay device-dependant?
Is there a better way to do this?
We specify the delay value (S3C2410_ADCDLY).
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
|
|
This patch allow us to efficiently modify the number of
remaining conversions from the client side. This us useful
when we do not know in advance how many conversions we will
need or when we need to cancel pending conversions.
This change is simple enough to be compatible with existing
code that can just define the new pointer in the callback
and ignore it.
Sample usage:
http://tinyurl.com/s3c2410-ts-c (function stylus_adc_action).
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
|
|
Small cleanup.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
[ben-linux@fluff.org: rewrote subject]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
|
|
Remove the dependence to the OLD NET DEV operation
Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
|
|
|
|
Muppetry...
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Reported-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
This makes wake up on RTC alarm work properly, ported from rtc-pcf50633
commits 4caf79de95c26495e7cdc8204023d97598f887d2 and
c3e4e22fb0c3e1d82f66e67f6592949e48f3995a.
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
This reverts commit 9c4451ff31b937a478f3d3eabef30b71cbe12b12.
This commit made wifi unusable after ifconfig down and sometimes after
unbinding.
|
|
This removes a few excess printks to tidy up suspend/resume.
Identical changes exist in andy-tracking already
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This patch fixes a typo in the voltage setting of LDO1.
In the function mangle_pmu_pdata_by_system_rev() the value of min_uV
is set twice, while the value of max_uV stays at the initialized
value. This leaves us with .constraints.min_uV = 3300000 and
.constraints.max_uV = 1300000, which is probably not what we want.
This patch is only required on andy-tracking.
Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
|
|
This isn't needed any more.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
IRQ stuff brought across from earlier work by Andreas.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
|
|
I'm happy with how this works, now.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This works - no need for the message any more.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
git+ssh://git-weiss@git.bitwiz.org.uk/srv/git-public/kernel into drm-tracking
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Tidy up a few lines, and remove debug lines which would slow us down.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This fixes the glamo-kms-fb initialisation to ioremap() the proper address for the
framebuffer, rather than just assuming it's at the start of the VRAM.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Fix label usage, making a compiler warning go away in the process.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This removes the last remaining instance of glamo-kms-fb touching Glamo's
registers directly.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
Update the copyright notice to include proper BSD credit for the memory mapping
in glamo-buffer.c.
Also removes some superfluous debug messages.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This doesn't work with the current 'standard' DDX, so there's no point trying
to make it work.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
|
|
This allows to use gta01 battery driver on gta02.
echo bq27000-battery.0 > /sys/bus/platform/drivers/bq27000-battery/unbind
modprobe gta01_battery
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
We need to use a dedicated function because we can't get charger
status from an irq context and that is required by usb gadgets.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
Current scheme is fragile and is likely to go off sync, especially on
batfull->adapter charging automatic MBC transition.
Query the status bit every time we need it instead.
We need to export another function to query for USB presence because
we can't read anything from PCF50633 (via I2C) inside irq context and
that is needed by usb gadgets.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
If chgmod == BATFULL, setting chgena has no effect. Datasheet says we
need to set resume instead but when autoresume is used resume doesn't
work. Clear and set chgena instead.
This enables a user to force charging by re-plugging USB even when the
charger entered Battery Full mode, might be handy before a long trip.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
After reaching Battery Full condition MBC state machine switches back
into charging mode when the battery voltage falls below 96% of a
battery float voltage. The voltage drop in Li-Ion batteries is
marginal (1-2%) till about 80% of its capacity - which means, after a
BATFULL, charging won't be restarted until 75-80%.
That is a desired behaviour recommended by battery manufacturers,
don't mess with it.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
Current implementation is prone to races, this patch attempts to remove all
but one (in pcf50633_adc_sync_read).
The idea is that we need to guard the queue access only on inserting and
removing items. If we insert and there're no more items in the queue it
means that the last irq already happened and we need to trigger ADC
manually. If not, then the next conversion will be triggered by the irq
handler upon completion of the previous.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|