Commit Graph

264928 Commits

Author SHA1 Message Date
杜坤明
4ddd669f16 gpu : add 8 page cache & modify the number of pre-alloc pages for gckOS_AllocateNonPagedMemory. 2011-12-02 14:40:15 +08:00
黄涛
8876073eda rk29: last_log: support /proc/last_kmsg when ANDROID_RAM_CONSOLE is not enabled, better support android bugreport 2011-12-02 14:05:56 +08:00
phc
01f63ae118 Z5 Support In 3.0 2011-12-01 20:55:12 +08:00
linjh
858cfb12cf phonesdk: change function to static function of gns7560 2011-12-01 18:04:08 +08:00
黄涛
ccb7efa1fd video: rk29: add FB_WIMO config 2011-12-01 17:38:23 +08:00
黄涛
1a8049a376 rk29: dd3sdk: defconfig: add COMPACTION, CPU_FREQ_DEFAULT_GOV_INTERACTIVE, INPUT_KEYCHORD, more HID, rm ANDROID_RAM_CONSOLE 2011-12-01 17:38:23 +08:00
linjh
fab6457129 phonesdk: fixup function interface of gns7560 driver ioctl in kernel-3.0 2011-12-01 17:32:24 +08:00
linjh
d0160e43d2 td8801: fixup multitouch of pixcir_tp in kernel-3.0 2011-12-01 17:32:24 +08:00
邱建斌
eef4b73c87 a22/td8801: board add include file 2011-12-01 16:51:17 +08:00
邱建斌
12fb7e5d88 a22/td8801: update board for wm8994 2011-12-01 16:38:40 +08:00
邱建斌
ae152fa3e9 phonesdk: update wm8994 device 2011-12-01 10:49:43 +08:00
hwg
b1af04341a delete drivers/net/wireless/ar6003/host/tools/ dir 2011-12-01 09:44:09 +08:00
黄涛
668fce082e input: eeti_egalax_i2c: never report ABS_MT_TOUCH_MAJOR with 0 2011-11-30 19:42:51 +08:00
黄涛
55ccb77974 rk29: dd3sdk: defconfig: PANIC_TIMEOUT=0 2011-11-30 19:42:51 +08:00
hwg
8389ffe00b delete ar6003/host/Android.mk 2011-11-30 19:15:43 +08:00
lw
4b8fecbe78 A22:improve touchscreen ili2102 driver 2011-11-30 18:07:03 +08:00
lw@rock-chips.com
17c3f1a6c0 A22:modify rk29_a22_defconfig and touchscreen 2011-11-30 17:32:44 +08:00
xbw
e2a6dd074b Optimize the SDMMC module for Kernel3.0 after cherry-pick from RK29-2.10SDK 2011-11-30 16:48:11 +08:00
陈恒明
12f2bd1ae9 rk29: vpu_service: fix bug when encoder and pp work at the same time 2011-11-30 14:31:05 +08:00
lw@rock-chips.com
24e03ef0f5 a22:modify board-rk29-a22.c 2011-11-30 12:32:12 +08:00
陈金泉
f0c3f25b04 add tlv320aic3111 codec driver 2011-11-30 11:42:08 +08:00
cmy
0d27ac8bb3 rtl8192c: fix gpio operation error, softap switch error 2011-11-30 11:04:51 +08:00
黄涛
7c35ccce3a Merge remote-tracking branch 'aosp/android-3.0' into develop-3.0 2011-11-30 10:36:13 +08:00
ddl
4b0965a601 camera(videobuf-core): fix deadlock in videobuf core, because dqueue ioctl havn't unlock vdev lock when stream is empty 2011-11-29 20:09:14 +08:00
hwg
b38c45814d add atheros ar6003 wifi driver
need to remove bt support in menuconfig: Networking support ---> Bluetooth subsystem support.
2011-11-29 15:41:58 +08:00
陈金泉
b941652d87 change for wm8994 2011-11-29 11:38:58 +08:00
Benoit Goby
6a4a38525d usb: gadget: android: Reset next_string_id before enable
Reset next_string_id to 0 before enabling the gadget driver. Otherwise,
after a large number of enable/disable cycles, bind will fail
because we cannot allocate new string ids. String ids cannot be larger
than 254 per USB spec.

Change-Id: I44f5fece45008b7a0a18c025d4eb5ce842585c28
Signed-off-by: Benoit Goby <benoit@android.com>
2011-11-28 19:02:13 -08:00
hyungseoung.yoo
dbb18fb2c1 Bluetooth: Keep master role when SCO or eSCO is active
This improves compatbility with a lot of headset / chipset
combinations. Ideally this should not be needed.

Change-Id: I8b676701e12e416aa7d60801b9d353b15d102709
Signed-off-by: hyungseoung.yoo <hyungseoung.yoo@samsung.com>
Signed-off-by: Jaikumar Ganesh <jaikumarg@android.com>
2011-11-28 15:34:39 -08:00
杜坤明
06b726825c gpu : Prior the cancel_delayed_work_sync to gckOS_AcquireMutex 2011-11-28 17:21:15 +08:00
张昊
10ed707095 fix building error mtd23d 2011-11-28 15:10:41 +08:00
ddl
3c4aa14642 camera: update a22 board file for support obtain camera information(facing,orientation) 2011-11-28 12:16:14 +08:00
ddl
eb726fee8d camera: update phonesdk and td8801 board file for support obtain camera information(facing,orientation) 2011-11-28 11:17:57 +08:00
黄涛
bb81a72d22 Merge remote-tracking branch 'last/develop-3.0' into develop-3.0 2011-11-25 17:47:39 +08:00
黄涛
adc8abbd99 Revert "wm831x:fix building error"
This reverts commit 74d34d6871.
2011-11-25 17:47:33 +08:00
ddl
4c6d24c23b camera: support obtain camera information(facing,orientation) 2011-11-25 15:34:16 +08:00
陈金泉
ab0c8bf4f0 turn up rt5631 SPK volume 2011-11-25 11:32:27 +08:00
黄涛
c722a34ca9 sound: rk29: pcm: fix bug on rockchip_pcm_enqueue
Fix this bug:
Unable to handle kernel paging request at virtual address 6b6b6b77
pgd = d41ec000
[6b6b6b77] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT
CPU: 0    Tainted: P             (3.0.8+ #250)
PC is at rockchip_pcm_enqueue+0x2c/0xec
LR is at rk29_audio_buffdone+0x58/0x84
pc : [<c0713094>]    lr : [<c071361c>]    psr: 80000193
sp : d0bfdcf8  ip : 00000001  fp : d51f5c44
r10: d0a2e414  r9 : 6b6b6b6b  r8 : 6b6b6b6b
r7 : 00000001  r6 : d53abc80  r5 : 6b6b6b6b  r4 : d0a983c0
r3 : 6b6b6b6b  r2 : d6d6d6d6  r1 : 0000001d  r0 : d53abc80

[<c0713094>] (rockchip_pcm_enqueue+0x2c/0xec) from [<c071361c>] (rk29_audio_buffdone+0x58/0x84)
[<c071361c>] (rk29_audio_buffdone+0x58/0x84) from [<c0447a50>] (rk29_pl330_rq+0x270/0x2d0)
[<c0447a50>] (rk29_pl330_rq+0x270/0x2d0) from [<c04438f4>] (pl330_update+0x374/0x438)
[<c04438f4>] (pl330_update+0x374/0x438) from [<c0446d3c>] (pl330_irq_handler+0xc/0x18)
[<c0446d3c>] (pl330_irq_handler+0xc/0x18) from [<c04960e0>] (handle_irq_event_percpu+0x30/0x174)
[<c04960e0>] (handle_irq_event_percpu+0x30/0x174) from [<c049627c>] (handle_irq_event+0x58/0x80)
[<c049627c>] (handle_irq_event+0x58/0x80) from [<c0498358>] (handle_fasteoi_irq+0xb4/0x108)
[<c0498358>] (handle_fasteoi_irq+0xb4/0x108) from [<c0495d70>] (generic_handle_irq+0x28/0x3c)
[<c0495d70>] (generic_handle_irq+0x28/0x3c) from [<c0433060>] (asm_do_IRQ+0x60/0x84)
[<c0433060>] (asm_do_IRQ+0x60/0x84) from [<c04384c4>] (__irq_svc+0x44/0xa0)
Exception stack(0xd0bfde10 to 0xd0bfde58)
de00:                                     00000001 00000108 00000002 00000000
de20: 00000013 d5028640 c0b0d32c d05e8808 d05e8800 d05e8808 c0b0d804 d0bfdeb8
de40: d4bd2400 d0bfde58 c0454ab4 c046ef54 40000013 ffffffff
[<c04384c4>] (__irq_svc+0x44/0xa0) from [<c046ef54>] (__queue_work+0x334/0x370)
[<c046ef54>] (__queue_work+0x334/0x370) from [<c046efdc>] (queue_work_on+0x2c/0x34)
[<c046efdc>] (queue_work_on+0x2c/0x34) from [<c046f024>] (queue_work+0x2c/0x54)
[<c046f024>] (queue_work+0x2c/0x54) from [<c047b214>] (__async_schedule+0x194/0x1b4)
[<c047b214>] (__async_schedule+0x194/0x1b4) from [<c070f118>] (dapm_power_widgets+0x334/0x3a4)
[<c070f118>] (dapm_power_widgets+0x334/0x3a4) from [<c070f234>] (snd_soc_dapm_stream_event+0xac/0xbc)
[<c070f234>] (snd_soc_dapm_stream_event+0xac/0xbc) from [<c070b3a0>] (soc_codec_close+0x164/0x178)
[<c070b3a0>] (soc_codec_close+0x164/0x178) from [<c07025a0>] (snd_pcm_release_substream+0x54/0xa4)
[<c07025a0>] (snd_pcm_release_substream+0x54/0xa4) from [<c0702618>] (snd_pcm_release+0x28/0x6c)
[<c0702618>] (snd_pcm_release+0x28/0x6c) from [<c04c8e50>] (fput+0x104/0x1f8)
[<c04c8e50>] (fput+0x104/0x1f8) from [<c04c5e60>] (filp_close+0x6c/0x78)
[<c04c5e60>] (filp_close+0x6c/0x78) from [<c04c5f30>] (sys_close+0xc4/0x124)
[<c04c5f30>] (sys_close+0xc4/0x124) from [<c0438940>] (ret_fast_syscall+0x0/0x30)

rk29_audio_buffdone call rockchip_pcm_enqueue, which access
rockchip_runtime_data *prtd, but prtd is freed on rockchip_pcm_close.
2011-11-24 17:42:23 +08:00
张昊
5eb1bc7285 fix driver bug : muti-touch & td8801 2011-11-24 11:42:39 +08:00
张昊
d924261aac Driver : add new modem driver sc8800 & tdsc8800 2011-11-23 12:40:21 +08:00
张昊
d05f190034 TD8801 : change for wm8994 2011-11-23 11:45:19 +08:00
陈金泉
b8a4ab8ff8 change for wm8994 2011-11-23 10:43:46 +08:00
Arve Hjønnevåg
9d187300df rtc: Fix some bugs that allowed accumulating time drift in suspend/resume
The current code checks if abs(delta_delta.tv_sec) is greater or
equal to two before it discards the old delta value, but this can
trigger at close to -1 seconds since -1.000000001 seconds is stored
as tv_sec -2 and tv_nsec 999999999 in a normalized timespec.

rtc_resume had an early return check if the rtc value had not changed
since rtc_suspend. This effectivly stops time for the duration of the
short sleep. Check if sleep_time is positive after all the adjustments
have been applied instead since this allows the old_system adjustment
in rtc_suspend to have an effect even for short sleep cycles.

Change-Id: I00b45c0349ec91a4bab9b41a126b377515427898
Signed-off-by: Arve Hjønnevåg <arve@android.com>
2011-11-22 16:49:58 -08:00
Arve Hjønnevåg
452d440ab2 Fix "time: Catch invalid timespec sleep values in __timekeeping_inject_sleeptime" to compile on 3.0
Change-Id: I1225f279cda04dedbfb7f853f6b58f1032bd6d2b
2011-11-22 16:49:43 -08:00
John Stultz
cf70c6a400 time: Catch invalid timespec sleep values in __timekeeping_inject_sleeptime
Arve suggested making sure we catch possible negative sleep time
intervals that could be passed into timekeeping_inject_sleeptime.

CC: Arve Hjønnevåg <arve@android.com>
CC: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
2011-11-22 16:49:29 -08:00
John Stultz
340ede3671 rtc: Avoid accumulating time drift in suspend/resume
Because the RTC interface is only a second granular interface,
each time we read from the RTC for suspend/resume, we introduce a
half second (on average) of error.

In order to avoid this error accumulating as the system is suspended
over and over, this patch measures the time delta between the RTC
and the system CLOCK_REALTIME.

If the delta is less then 2 seconds from the last suspend, we compensate
by using the previous time delta (keeping it close). If it is larger
then 2 seconds, we assume the clock was set or has been changed, so we
do no correction and update the delta.

Note: If NTP is running, ths could seem to "fight" with the NTP corrected
time, where as if the system time was off by 1 second, and NTP slewed the
value in, a suspend/resume cycle could undo this correction, by trying to
restore the previous offset from the RTC. However, without this patch,
since each read could cause almost a full second worth of error, its
possible to get almost 2 seconds of error just from the suspend/resume
cycle alone, so this about equal to any offset added by the compensation.

Further on systems that suspend/resume frequently, this should keep time
closer then NTP could compensate for if the errors were allowed to
accumulate.

Credits to Arve Hjønnevåg for suggesting this solution.

This patch also improves some of the variable names and adds more clear
comments.

CC: Arve Hjønnevåg <arve@android.com>
CC: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
2011-11-22 16:49:26 -08:00
黄涛
3ed00a8562 pack-kernel.sh: fix local version 2011-11-22 22:10:02 +08:00
陈金泉
25c21ca660 fix rt5631 calling function error 2011-11-22 22:02:04 +08:00
张昊
3ac12c41e1 Driver : add new driver al3006/bma023 & fix gc0309 building error 2011-11-22 21:16:44 +08:00
张昊
ee3fe211f7 PHONE : use new sdmmc driver 2011-11-22 21:16:44 +08:00
陈金泉
6aa405b36d delete rk29_alc5621,add rk29_rt5621 2011-11-22 20:35:02 +08:00