Commit Graph

359 Commits

Author SHA1 Message Date
tytung
4da1d6cab6 htcleo: updated to tytung_r12.2 2011-09-29 00:35:48 +08:00
tytung
0f2738a1ee htcleo: updated to tytung_r12.1 2011-09-29 00:19:53 +08:00
tytung
92f2f11dd5 Revert "bluetooth: updated bluetooth stack"
This reverts commit eb94bc60a6.
2011-09-29 00:18:46 +08:00
tytung
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
tytung
bcd275a3ef USB: gadget: f_accessory: Add new gadget driver for android USB accesories. 2011-09-24 19:31:58 +08:00
tytung
a11a1a886e htcleo: updated htcleo_defconfig to tytung_r12 version. 2011-09-11 14:05:23 +08:00
tytung
36b925848c drivers: net: Added HTC Official kineto_gan.c for WiFi Calling. 2011-09-10 18:27:07 +08:00
tytung
f3bf007056 htcleo: wifi: remove the old support for wifi.mac=... from kernel cmdline. 2011-09-09 00:49:58 +08:00
tytung
9c8917c035 htcleo: wifi: Load the real MAC address from SPL if running SD build on WM.
Thank for Savan's help.
Refer to 3c64a1c16f
2011-09-08 00:36:00 +08:00
tytung
c26ad4782d qdsp6: add missing code. 2011-09-04 16:55:04 +08:00
tytung
4d83e05864 htcleo: remove support for specific htcleo.acdb file to improve the booting speed when htcleo.acdb is not present. 2011-08-29 22:13:23 +08:00
tytung
ca26744fe2 htcleo: audio: add proc file interface /proc/mic_level and fix mic gain (Credits to mdebeljuh and jdivic)
Apply the diff file from http://forum.xda-developers.com/showpost.php?p=17031938&postcount=97
Disable debug output and fix typo by tytung.

Usage: echo 'device_id level' > /proc/mic_level
Level range: 0-1000; -1 use level from acdb
Current levels (device_id):
HANDSET (0): -1
SPKR_PHONE (1): -1
HEADSET (2): -1
TTY_HEADSET (3): -1
BT_SCO (4): -1
2011-08-29 22:07:47 +08:00
tytung
343845b70a htcleo: updated htcleo_defconfig to tytung_r11 version. 2011-08-22 00:09:55 +08:00
tytung
cc7e778762 htcleo: changed unique WiFi address by using IEEE Standards 00:23:76:XX:XX:XX for HTC. -- http://standards.ieee.org/cgi-bin/ouisearch?00-23-76 2011-08-19 00:49:38 +08:00
tytung
f6c36f2d66 msm: camera: Clean up during open failure. 2011-08-19 00:48:31 +08:00
tytung
e04e3db5d9 msm: add wakeup lag fix for AUO panels. (credits to xda members mdebeljuh and jdivic) 2011-08-18 00:05:19 +08:00
tytung
6ca79cd6f1 usb: gadget: Add RNDIS (Remote Network Driver Interface Specification) for supporting native USB Tethering. 2011-08-17 23:59:31 +08:00
tytung
bdfeaacf04 htcleo: sent missing AT commands to fix RIL on NAND boot.
We cannot load ril wrapper library (libhtc_ril_wrapper.so) if we want to load GAN RIL (libganril.so) to support T-Mobile WiFi Calling (UMA).
So I fix RIL on NAND boot in kernel, not via ril wrapper library.
2011-04-30 21:53:42 +08:00
tytung
d0fb339c5f q6audio: audio boost 2011-04-12 00:16:35 +08:00
tytung
8f470e6b2d htcleo: fixed Bluetooth MAC address to board device dependend one. (i.e. unique Bluetooth address)
Use IEEE Standards 00:23:76:YY:YY:YY for HTC. -- http://standards.ieee.org/cgi-bin/ouisearch?00-23-76
2011-04-09 01:56:44 +08:00
tytung
028bb98fc1 audio: added Two-way call recording (Credit to avs333)
Applied snq-'s modified patch below and fixed the compilation error on HD2 by tytung
http://forum.xda-developers.com/showpost.php?p=12316760&postcount=154
2011-03-29 00:09:00 +08:00
tytung
eb94bc60a6 bluetooth: updated bluetooth stack 2011-03-26 13:07:29 +08:00
tytung
839936cbf9 Revert "genirq: pm: Fix the enable ordering in resume"
This reverts commit 43b7c2a243.
2011-03-26 13:02:07 +08:00
tytung
a22bca12d1 Revert "netfilter: nf_log: avoid oops in (un)bind with invalid nfproto values"
This reverts commit 895493dad6.
2011-03-26 13:01:49 +08:00
tytung
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
tytung
ea113caeb1 Revert "msm: audio: 8k: Send ACDB data after the PREPARE stage of device switch"
This reverts commit b46eec7adc.
2011-03-24 23:23:23 +08:00
tytung
9717a238a2 Revert "msm: audio: 8k: Send ACDB configuration during device switch"
This reverts commit 520bef6caf.
2011-03-24 23:22:55 +08:00
Jan Engelhardt
895493dad6 netfilter: nf_log: avoid oops in (un)bind with invalid nfproto values
commit 9ef0298a8e5730d9a46d640014c727f3b4152870 upstream.

Like many other places, we have to check that the array index is
within allowed limits, or otherwise, a kernel oops and other nastiness
can ensue when we access memory beyond the end of the array.

[ 5954.115381] BUG: unable to handle kernel paging request at 0000004000000000
[ 5954.120014] IP:  __find_logger+0x6f/0xa0
[ 5954.123979]  nf_log_bind_pf+0x2b/0x70
[ 5954.123979]  nfulnl_recv_config+0xc0/0x4a0 [nfnetlink_log]
[ 5954.123979]  nfnetlink_rcv_msg+0x12c/0x1b0 [nfnetlink]
...

The problem goes back to v2.6.30-rc1~1372~1342~31 where nf_log_bind
was decoupled from nf_log_register.

Reported-by: Miguel Di Ciurcio Filho <miguel.filho@gmail.com>,
  via irc.freenode.net/#netfilter
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-23 01:43:17 +08:00
Abhijeet Dharmapurikar
43b7c2a243 genirq: pm: Fix the enable ordering in resume
In suspend interrupts are disabled from 0 to NR_IRQ, in resume interrupts
should be enabled in reverse order.

Enabling parent or summary interrupts before enabling child interrupts
causes the handler of the child interrupt to run even before it is
enabled. Usually the genirq handler does the correct thing of masking
the interrupt and additionally marking the interrupt IRQ_PENDING if its
an edge triggered interrupt. However the nested handler
(handle_nested_irq()) simply ignores the interrupt causing a loss of it.

Not calling the action of an interrupt, especially if it marked wakeup,
causes the system to incorrectly go back to suspend immediately.

Change-Id: Ica30c10a975a4a7b41b97b4f21250dac80335b2b
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2011-03-23 01:41:36 +08:00
tytung
520bef6caf msm: audio: 8k: Send ACDB configuration during device switch
In the current code, for a device switch command, ACDB configuration
is sent to Q6 only if there is any active tx/rx session.
As per Q6 API, changing the code to send ACDB configuration after
the PREPARE stage of the device switch even if there's no active
tx/rx session.

Change-Id: I895f5da5d23f586ae829c4856a5b39b4399422ee
CRs-Fixed: 267703
Signed-off-by: Phani Kumar Allada <pallad@codeaurora.org>
2011-03-23 01:37:38 +08:00
tytung
b46eec7adc msm: audio: 8k: Send ACDB data after the PREPARE stage of device switch
As per the Q6 API, the ACDB configuration need to be sent to Q6 after the
PREPARE stage of the device switch. But in the current code it is in the
reverse order. Hence correcting the code as per the Q6 API.

Change-Id: I9f947d44f73b1fc71ddea8259ca54402edc895c2
Signed-off-by: Phani Kumar Allada <pallad@codeaurora.org>
2011-03-23 01:31:08 +08:00
tytung
038cb087d1 cLK: kernel patch to save reboot reason so is available on bootloader
By Cedesmith. http://forum.xda-developers.com/showpost.php?p=10837322&postcount=2
2011-03-16 21:09:18 +08:00
tytung
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
tytung
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
tytung
ac2d0b6e27 wifi: cleanup 2011-03-12 17:51:45 +08:00
tytung
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
Markinus
ba5148a6fb htcleo: fixed AC charging on boot and cleanups 2011-03-12 15:57:15 +08:00
Markinus
1b4ec557f5 usb: fixed compile errors 2011-03-12 15:56:28 +08:00
Markinus
f42b4692d6 usb: added usb-host functionality for MSM devices amd Leo config file 2011-03-12 15:56:21 +08:00
tytung
27f7fd8972 cLK: off_mode_charging just prevents the kernel from BUG() if off mode charging and panel is off ( and not detectable )
By cedesmith. http://forum.xda-developers.com/showpost.php?p=10837322&postcount=2
2011-03-08 00:47:45 +08:00
tytung
d1446674eb cLK: cLK_power_clllapse patch adds detection of cLK to kernel and puts the reset vector at 0x11800000 where cLK will jump (+4) at power_collapse_exit
By cedesmith. http://forum.xda-developers.com/showpost.php?p=10837322&postcount=2
2011-03-08 00:47:28 +08:00
Arne182
3cc2d57e15 Changed Voltage percentage curve and changed capacity to 2300mAh for EB 2011-03-01 22:35:03 -08:00
Arne182
fcf4ad02f1 Inital Arne's EB Support added. 2011-02-26 11:03:39 -08:00
tytung
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
Danijel Posilović
2d292eb9bb htcleo: some bugfixes and cleanups on backlight manager driver 2011-02-17 21:14:16 +08:00
Danijel Posilović
86ad764392 htcleo: new button backlight manager driver
- Now button backlight is managed by this driver, also it is configurable by sysfs (number of secs. after backlight will be turned off after last key-press, enable/disable this auto_off feature)
-When disabled auto_off, backlight will go off along with screen backlight.
- Sysfs for num. of seconds : /sys/devices/platform/btn_backlight_manager/off_seconds
(min: 5 sec, max: 60 sec)
- Sysfs for turn on/off auto-off feature: /sys/devices/platform/btn_backlight_manager/auto_off
(0 to disable auto-off, 1 to enable)
2011-02-17 21:13:55 +08:00
Danijel Posilović
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
tytung
2bbd73cdec Revert "htcleo: some bugfixes and cleanups on backlight manager driver"
This reverts commit 864e077367f6dc567c5bce2501856225375a3e20.
2011-02-17 21:12:34 +08:00
tytung
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
Danijel Posilovic
0e29cb4fa1 fixed netfilter errors and missing dependencies 2011-02-16 18:43:25 +08:00