Commit Graph

138 Commits

Author SHA1 Message Date
8fea24f772 Add force fast charge support (1/2) 2012-03-09 02:55:13 +05:30
79b69f0bfb Revert "usb: gadget: Backport Android drivers from 2.6.35 for HD2 by tytung."
This reverts commit 70f8304d7a.
2012-01-13 02:00:30 +08:00
52203a8404 Revert "USB: gadget: added f_accessory gadget driver for android USB accesories and applied all patches. (credit to tytung)"
This reverts commit 2ef9a48295.
2012-01-13 02:00:07 +08:00
f861dded06 drivers: gpu: packported kgsl from msm-3.0 kernel 2012-01-13 00:31:11 +08:00
05b17b7a29 drivers: improved the flashlight's ICS compatibility. 2012-01-08 13:20:13 +08:00
d8579fa109 drivers: cpufreq: added smartass2 governor. 2012-01-07 20:47:05 +08:00
db9b407d80 drivers: cpufreq: added InteractiveX governor. 2012-01-07 20:31:43 +08:00
88922c12f5 drivers: net: wireless: backported bcm4329 from tuna kernel 2011-12-13 01:08:16 +08:00
99dbc5c163 net: packported xt_qtaguid and xt_quota2 to support data usage. 2011-12-10 00:00:42 +08:00
2ef9a48295 USB: gadget: added f_accessory gadget driver for android USB accesories and applied all patches. (credit to tytung)
5d9d8625e3 and so on.
2011-11-16 00:31:12 +08:00
aabb2fb32d usb: msm72k_udc: Fix handling of OUT packets on ep0 with length > 0
The gadget level completion function was getting called for the ACK packet
instead of the data packet, making it impossible to read the data from the host.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-11-16 00:29:34 +08:00
70f8304d7a usb: gadget: Backport Android drivers from 2.6.35 for HD2 by tytung.
Completely breaks compatibility with HTC Sense, but is needed for Android 2.3.
References:
3362439a1d
03c08c01c6
3fa64c7f7f
2011-11-15 23:13:34 +08:00
330c350fdb net: New iface_stat module to monitor persistent network stats.
Adding a new module that tracks the number of bytes/packets transfered by a network interface, even after the interface has been removed.
This is relevant to track the total data usage in mobile devices whose interfaces are added and removed quite frequently (WiFi, Bluetooth, 3G,..).

Monitoring is done only for devices that are configured with a valid IP address (check to exclude virtual/loopback/tunnel interfaces).

Change-Id: I8ac642af1990433ebd0784e8dbd72bf0714b5bf6
Signed-off-by: Ashish Sharma <ashishsharma@google.com>

Included a little modification for the out-of-date HD2 .32 kernel.
2011-11-15 23:00:32 +08:00
6d2048e7da drivers: video: msm: fixed the color banding issue. (Credit to marc1706)
dfe41d02ca
2011-11-10 01:31:07 +08:00
64b3392b72 bluetooth: updated bluetooth stack 2011-09-29 23:42:22 +08:00
92f2f11dd5 Revert "bluetooth: updated bluetooth stack"
This reverts commit eb94bc60a6.
2011-09-29 00:18:46 +08:00
6e0cc9a888 Revert "USB: gadget: f_accessory: Add new gadget driver for android USB accesories."
This reverts commit bcd275a3ef.
2011-09-29 00:17:56 +08:00
bcd275a3ef USB: gadget: f_accessory: Add new gadget driver for android USB accesories. 2011-09-24 19:31:58 +08:00
36b925848c drivers: net: Added HTC Official kineto_gan.c for WiFi Calling. 2011-09-10 18:27:07 +08:00
f6c36f2d66 msm: camera: Clean up during open failure. 2011-08-19 00:48:31 +08:00
6ca79cd6f1 usb: gadget: Add RNDIS (Remote Network Driver Interface Specification) for supporting native USB Tethering. 2011-08-17 23:59:31 +08:00
eb94bc60a6 bluetooth: updated bluetooth stack 2011-03-26 13:07:29 +08:00
1b9449e9a4 Fixed Bluetooth 60mA battery drain
Based on Trilu's patch http://forum.xda-developers.com/showthread.php?t=1007774
Removed some debug and unnecessary code, and added some missing code by tytung.
Thanks to Trilu for finally fixing the BT problem.
Thanks to Charansingh for the work he has done on the BT problem.
2011-03-25 23:15:05 +08:00
a8bf8f2567 net: wireless: bcm4329: Allocate skb with GFP_KERNEL flag if possible
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-03-12 17:56:55 +08:00
9bc54c5ede net: wireless: bcm4329: Disable wake irq at driver stop
Previously at driver stop interrupts were not disabled and
might cause never-ending waking up

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-03-12 17:55:43 +08:00
f8d85d37a8 Merge commit 'refs/merge-requests/1' of gitorious.org:~tytung/linux-on-wince-htc/tytungs-hastarins-linux_on_wince_htc 2011-03-12 16:13:12 +08:00
1b4ec557f5 usb: fixed compile errors 2011-03-12 15:56:28 +08:00
f42b4692d6 usb: added usb-host functionality for MSM devices amd Leo config file 2011-03-12 15:56:21 +08:00
3cc2d57e15 Changed Voltage percentage curve and changed capacity to 2300mAh for EB 2011-03-01 22:35:03 -08:00
fcf4ad02f1 Inital Arne's EB Support added. 2011-02-26 11:03:39 -08:00
765f3a9d95 wifi: updated WiFi driver to AOSP version to support WiFi with EAP authentication on Gingerbread.
Need Gingerbread wpa_supplicant.
2011-02-23 19:15:59 +08:00
c3c716173f - Some cleanups
- Added button backlight control via panel backlight (button backlight will go on/off with screen backlight)
- To enable/disable this just echo 0 or 1 to /sys/devices/platform/htcleo-backlight/btn_control
( echo 0 >  /sys/devices/platform/htcleo-backlight/btn_control )
- By default button control is enabled
2011-02-17 21:13:21 +08:00
0162818a8a New led driver compatible with Desire (Bravo) liblights
- remove all lights.*.so files from /system/lib/hw (backup if u want) and replace with lights.qsd8k.so from Bravo ROM or download from http://www.multiupload.com/2M5T02M3TU
 - if button backlight don’t work: turn screen on, press any key and put phone under bright light ( this should activate light sensor and backlight)

Conflicts:

	arch/arm/configs/htcleo_defconfig
	arch/arm/mach-msm/board-htcleo.h

Add commit from 654ce990ab
2011-02-17 21:09:15 +08:00
d3034284d5 bma150: added calibration interface and fixed calibration for HD2 (the facedown problem) 2011-02-16 18:43:01 +08:00
27fddc92af rmnet: removed wince rmnet file and added mudule support for the normal rmnet driver. 2011-01-28 23:54:12 +08:00
8784a1dc59 fix gcc compiler warning in wifi driver 2010-12-13 11:58:17 +11:00
e165752c6f bcm4329: driver updates, fixed ts leg after resume with wlan on. 2010-12-13 11:52:25 +11:00
a29154193a Revert "Added gauner1986's hack to force 802.11n support on."
This reverts commit 2dfc0915ee.
2010-12-13 11:52:00 +11:00
28ac03478b Turned off debug options in previous patch since they're only of use for testing/debugging. 2010-12-06 16:54:48 +11:00
37af65e44e EXPERIMENTAL: Initial (Alpha) support for extended battery in the new driver. USE AT YOUR OWN RISK! http://bit.ly/eDLk0g 2010-12-06 16:32:44 +11:00
b02a70d538 Tweak smartass for better performance 2010-11-18 13:00:13 +11:00
260b0ba01a Added some extra debug info for vdd_level being set on bootup, and fixed another warning in WiFi driver.
The warning was preventing me compiling using the latest CodeSourcery toolchain with optimizations.
2010-11-18 12:36:22 +11:00
fea4f78e54 increase IDLE_TIMEOUT within kgsl_yamato_idle (kgsl_yamato.c) 2010-11-18 12:28:38 +11:00
f248e15b5f msm: kgsl: Remove support for mmap from the kgsl driver.
The mmap(2) functionality of kgsl is no longer used, and it had a
bug that would crash the kernel when mmap(2) was called with
"odd" parameters.  So we have removed the mmap functionality.
If for some reason in the future you want to resurrect this,
make sure memdesc is properly initialized in all paths through
the kgsl_mmap() routine.

Signed-off-by: Ken Sumrall <ken@android.com>
2010-11-18 12:27:57 +11:00
7304611fc3 cpufreq: interactive: Changes to interactive governor
Changes include:
* May scale up to intermediate speeds after scaling down, rather than
scale to max speed and then only scale down until max speed needed.

* Tweaked thresholds at which max speed requested (previously CPU must
have been 100% busy since idle exit timer started, now will go max if at
least 85% busy) and default minimum sample time raised to 80ms. Tweaking
based on UI tests, still in progress.

* SMP fixes.

* Fixed attempted multiple delete of sysfs group on governor stop.
Set a just-in-case-CPU-goes-busy-again timer even if nr_running == 0 at
timer function run time, but cancel if that CPU goes idle (and don't
re-arm timer if that CPU is currently idle).

* Re-evaluate speed if a CPU goes idle while above min speed (and no timer
currently set) in case the platform requires all CPUs to be at the same
speed.

* Realtime workqueues disappeared upstream, convert speed up workqueue to
a realtime task. Average scheduling latency measured significantly less
than WQ_HIGHPRI.

* Timers are not deferrable, must wake CPU from idle, since we now
re-evaluate speed for idle CPUs.

* CPU load is computed from higher of short-term load since idle exit vs.
long-term load since last frequency change, to avoid dropping speed
during temporary dips in load on long-term-busy CPU.

* Avoid 1 CPU starting new idle exit load eval interval in a race with
timer running on another CPU.

* New fugly debugging printfs should be reworked or go away eventually.

Change-Id: I606b5c1850637c35a7814309df12362d5c044825
via: https://review.source.android.com//#change,15809
2010-11-18 12:26:12 +11:00
c8cec4c0c1 cpufreq: interactive: Fix potential division by zero 2010-11-18 12:25:44 +11:00
c69e698fff msm_kgsl: Optimize TLB flushing
Only flush TLB when it is absolutely nessasary as opposed to
flushing it on every map and unmap
2010-11-18 12:22:31 +11:00
9e3544077c msm_kgsl: Move kgsl_sharedmem_init to module load
kgsl_sharedmem_init/kgsl_sharedmem_close only need to be called once,
so move them to the the module load and close functions so they can be
available through the life of the module.
2010-11-18 12:22:14 +11:00
aced6aebc2 g-sensor workaround by mdebeljuh & jdivic (http://forum.xda-developers.com/showthread.php?p=9208297#post9208297) 2010-11-17 19:42:50 +11:00
bcfc153b4e Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc 2010-11-17 18:57:36 +11:00