firefly-linux-kernel-4.4.55.git
13 years agoRevert "USB: gadget: android: mass_storage: Use spin_lock_irqsave/spin_unlock_irqrestore"
黄涛 [Sat, 30 Jul 2011 14:16:52 +0000 (22:16 +0800)]
Revert "USB: gadget: android: mass_storage: Use spin_lock_irqsave/spin_unlock_irqrestore"

This reverts commit 3274abc33ec2c170acd6fd2732c271ad9dd0b17f.

13 years agoRevert "Bluetooth: Hack: Don't dereference null pointer."
黄涛 [Sat, 30 Jul 2011 14:16:50 +0000 (22:16 +0800)]
Revert "Bluetooth: Hack: Don't dereference null pointer."

This reverts commit 612cd5aa166a6f22660ebd104a08a40576c44a36.

13 years agoRevert "fs: partitions: Fix warnings in fs/partitions/check.c"
黄涛 [Sat, 30 Jul 2011 14:16:49 +0000 (22:16 +0800)]
Revert "fs: partitions: Fix warnings in fs/partitions/check.c"

This reverts commit e27f17b5318851395a66cbaf1524ea89ff8f0cb9.

13 years agoRevert "USB: gadget: f_mass_storage: Defer handling interface changes until it is...
黄涛 [Sat, 30 Jul 2011 14:16:47 +0000 (22:16 +0800)]
Revert "USB: gadget: f_mass_storage: Defer handling interface changes until it is safe."

This reverts commit 0fc7f96b5be344f7a5499e29b30f245fb857f4a2.

13 years agoRevert "Staging: android: timed_gpio: Properly discard invalid timeout values."
黄涛 [Sat, 30 Jul 2011 14:16:46 +0000 (22:16 +0800)]
Revert "Staging: android: timed_gpio: Properly discard invalid timeout values."

This reverts commit a7f5cb901df253cb3aed7a369298a95703cc5995.

13 years agoRevert "Revert "proc: pagemap: Hold mmap_sem during page walk""
黄涛 [Sat, 30 Jul 2011 14:16:44 +0000 (22:16 +0800)]
Revert "Revert "proc: pagemap: Hold mmap_sem during page walk""

This reverts commit 2c07d75caea45852bb9a58648a6be476ffc57a02.

13 years agoRevert "proc: pagemap: Hold mmap_sem during page walk"
黄涛 [Sat, 30 Jul 2011 14:16:43 +0000 (22:16 +0800)]
Revert "proc: pagemap: Hold mmap_sem during page walk"

This reverts commit 49ff3070f5ecc45ce45cc4e840cd0f20b768e3d3.

13 years agoRevert "Staging: android: binder: Create dedicated workqueue for binder deferred...
黄涛 [Sat, 30 Jul 2011 14:16:41 +0000 (22:16 +0800)]
Revert "Staging: android: binder: Create dedicated workqueue for binder deferred work"

This reverts commit 64fa454e9d4dc650553eaf1bfb2d8ef75c6a3ee6.

13 years agoRevert "lowmemorykiller: Don't try to kill the same pid over and over"
黄涛 [Sat, 30 Jul 2011 14:16:40 +0000 (22:16 +0800)]
Revert "lowmemorykiller: Don't try to kill the same pid over and over"

This reverts commit 65c9eb5fc0e3834475c6d749a75ba17261ac1d1a.

13 years agoRevert "USB: android gadget: mass storage: Fix format issue for Vista Host"
黄涛 [Sat, 30 Jul 2011 14:16:38 +0000 (22:16 +0800)]
Revert "USB: android gadget: mass storage: Fix format issue for Vista Host"

This reverts commit fd515513a38b53d2b961cbbc9c4fdaeedec74d44.

13 years agoRevert "[ARM] Do not call flush_cache_user_range with mmap_sem held"
黄涛 [Sat, 30 Jul 2011 14:16:37 +0000 (22:16 +0800)]
Revert "[ARM] Do not call flush_cache_user_range with mmap_sem held"

This reverts commit 7bc14acfbb86b00a93ddb1c40d9d2050cd7188fe.

13 years agoRevert "staging: android: lowmemkiller: Substantially reduce overhead during reclaim"
黄涛 [Sat, 30 Jul 2011 14:16:35 +0000 (22:16 +0800)]
Revert "staging: android: lowmemkiller: Substantially reduce overhead during reclaim"

This reverts commit 3508951576473670d90e65562a9140d8dff93386.

13 years agoRevert "binder: Fix memory corruption via page aliasing"
黄涛 [Sat, 30 Jul 2011 14:16:34 +0000 (22:16 +0800)]
Revert "binder: Fix memory corruption via page aliasing"

This reverts commit 6bdee543a3281e7d53e2902fedae529ced5e0c7e.

13 years agoRevert "sched: Add a generic notifier when a task struct is about to be freed"
黄涛 [Sat, 30 Jul 2011 14:16:32 +0000 (22:16 +0800)]
Revert "sched: Add a generic notifier when a task struct is about to be freed"

This reverts commit 9e6cb2f4dbe36af72558f60f418cc03df0173628.

13 years agoRevert "staging: android: lowmemorykiller: Fix task_struct leak"
黄涛 [Sat, 30 Jul 2011 14:16:31 +0000 (22:16 +0800)]
Revert "staging: android: lowmemorykiller: Fix task_struct leak"

This reverts commit 896c969afc251e0525e28633c57e4e0a97229dd6.

13 years agoRevert "staging: android: lowmemorykiller: Remove bitrotted codepath"
黄涛 [Sat, 30 Jul 2011 14:16:29 +0000 (22:16 +0800)]
Revert "staging: android: lowmemorykiller: Remove bitrotted codepath"

This reverts commit ab24f9c8fd996759bc16cfaf496c26c461758009.

13 years agoRevert "Implement read(2) in ashmem driver"
黄涛 [Sat, 30 Jul 2011 14:16:26 +0000 (22:16 +0800)]
Revert "Implement read(2) in ashmem driver"

This reverts commit 16fe6f1aa71cbfafed933c220cdaf1a0bad09980.

13 years agotemp revert timed_gpio change
黄涛 [Sat, 30 Jul 2011 14:16:08 +0000 (22:16 +0800)]
temp revert timed_gpio change

13 years agoRevert "Merge remote branch 'common/android-2.6.32' into develop"
黄涛 [Sat, 30 Jul 2011 08:26:01 +0000 (16:26 +0800)]
Revert "Merge remote branch 'common/android-2.6.32' into develop"

This reverts commit 5091b83839ca4ba4f6cb70eb461b35ffb15b8fb3, reversing
changes made to 0fd331518d0898229e9e6747c636c3978028e7f0.

13 years agoRevert "Merge remote branch 'common/android-2.6.32' into develop"
黄涛 [Sat, 30 Jul 2011 08:25:42 +0000 (16:25 +0800)]
Revert "Merge remote branch 'common/android-2.6.32' into develop"

This reverts commit c7e039e278f094a51d706b217cfdb92a7bfb37a6, reversing
changes made to d00e5f74ae65f54f401f66efea3d734b6b136cab.

13 years agoRevert "Merge remote branch 'linux-2.6.32.y/master' into develop"
黄涛 [Sat, 30 Jul 2011 08:24:52 +0000 (16:24 +0800)]
Revert "Merge remote branch 'linux-2.6.32.y/master' into develop"

This reverts commit 6e2688ca848b14639c6ce07ec87c51fdc1742b61, reversing
changes made to 4b7c9de4deb80eb1e1b154112a5e6cb2d3d79f96.

Conflicts:

drivers/gpio/wm831x-gpio.c
drivers/i2c/busses/Kconfig
drivers/net/dm9000.c
drivers/net/wireless/airo.c
drivers/net/wireless/ath/ar9170/hw.h
drivers/net/wireless/ath/ar9170/main.c
drivers/net/wireless/ath/ar9170/usb.c
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/attach.c
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/qcu.c
drivers/net/wireless/ath/ath5k/reset.c
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/beacon.c
drivers/net/wireless/ath/ath9k/eeprom.h
drivers/net/wireless/ath/ath9k/eeprom_def.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/initvals.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/pci.c
drivers/net/wireless/ath/ath9k/phy.h
drivers/net/wireless/ath/ath9k/rc.c
drivers/net/wireless/ath/ath9k/xmit.c
drivers/net/wireless/ath/regd.h
drivers/net/wireless/b43/Kconfig
drivers/net/wireless/b43/Makefile
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/dma.c
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43/pio.c
drivers/net/wireless/b43/pio.h
drivers/net/wireless/b43/xmit.c
drivers/net/wireless/b43legacy/main.c
drivers/net/wireless/hostap/hostap_cs.c
drivers/net/wireless/hostap/hostap_hw.c
drivers/net/wireless/hostap/hostap_pci.c
drivers/net/wireless/hostap/hostap_wlan.h
drivers/net/wireless/iwlwifi/iwl-3945.c
drivers/net/wireless/iwlwifi/iwl-4965.c
drivers/net/wireless/iwlwifi/iwl-5000.c
drivers/net/wireless/iwlwifi/iwl-agn-rs.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-core.h
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-helpers.h
drivers/net/wireless/iwlwifi/iwl-rx.c
drivers/net/wireless/iwlwifi/iwl-scan.c
drivers/net/wireless/iwlwifi/iwl-tx.c
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/libertas/if_sdio1.c
drivers/net/wireless/p54/eeprom.c
drivers/net/wireless/p54/p54pci.c
drivers/net/wireless/p54/p54usb.c
drivers/net/wireless/p54/txrx.c
drivers/net/wireless/rndis_wlan.c
drivers/net/wireless/rtl818x/rtl8180_dev.c
drivers/net/wireless/wl12xx/wl1251_debugfs.c
drivers/net/wireless/wl12xx/wl1251_sdio.c
drivers/usb/serial/option.c
net/bluetooth/rfcomm/core.c

13 years agotemp revert msdos change
黄涛 [Sat, 30 Jul 2011 08:16:45 +0000 (16:16 +0800)]
temp revert msdos change

13 years agoRevert "Merge remote branch 'linux-2.6.32.y/master' into develop"
黄涛 [Sat, 30 Jul 2011 08:11:20 +0000 (16:11 +0800)]
Revert "Merge remote branch 'linux-2.6.32.y/master' into develop"

This reverts commit 84aa38e58d1115f2562cdbed32c57ed9a6e460e8, reversing
changes made to 9505d021e0c4e93eb854ae380529c04c81ddcf6f.

13 years agoRevert "Merge remote-tracking branch 'linux-2.6.32.y/master' into develop"
黄涛 [Sat, 30 Jul 2011 08:09:59 +0000 (16:09 +0800)]
Revert "Merge remote-tracking branch 'linux-2.6.32.y/master' into develop"

This reverts commit 7cd3739f32f642e2bdd722b253abbc4318202002, reversing
changes made to 2748ae2cc2276d238e1d0d54b739fa1009fd94ad.

Conflicts:

drivers/usb/core/hub.c
drivers/usb/serial/option.c

13 years agotemp revert mmc change
黄涛 [Sat, 30 Jul 2011 08:07:27 +0000 (16:07 +0800)]
temp revert mmc change

13 years agoRevert "Merge remote-tracking branch 'linux-2.6.32.y/master' into develop"
黄涛 [Sat, 30 Jul 2011 08:01:15 +0000 (16:01 +0800)]
Revert "Merge remote-tracking branch 'linux-2.6.32.y/master' into develop"

This reverts commit 2caa51d22aaf6dd05475ebb7b67bf0de29cbb9af, reversing
changes made to cc88c1f62a752f6e7948c763fde38e12d6a30a22.

13 years agoRevert "delete pmem ioctl information"
黄涛 [Sat, 30 Jul 2011 07:59:46 +0000 (15:59 +0800)]
Revert "delete pmem ioctl information"

This reverts commit 04f2d6f3c101abab9c48430ad77e0a9f44addf5a.

13 years agoRevert "rk29: call resume_console while dpm_drv_timeout, make debug more easy"
黄涛 [Sat, 30 Jul 2011 07:59:01 +0000 (15:59 +0800)]
Revert "rk29: call resume_console while dpm_drv_timeout, make debug more easy"

This reverts commit 1c209c256f686d8e5d806f48ebbe029f4545df8a.

13 years agoRevert "ASoC: core: On resume also check the soc device state"
黄涛 [Sat, 30 Jul 2011 07:56:58 +0000 (15:56 +0800)]
Revert "ASoC: core: On resume also check the soc device state"

This reverts commit ecf7611caeb1b68e6ed4575f1abf92c619e75a98.

13 years agoRevert "clocksource: Provide a generic mult/shift factor calculation"
黄涛 [Sat, 30 Jul 2011 07:56:49 +0000 (15:56 +0800)]
Revert "clocksource: Provide a generic mult/shift factor calculation"

This reverts commit cfc80b68293040b1f06c1fb388d3bd448721aa7b.

13 years agoRevert "Fix rounding in clocks_calc_mult_shift()"
黄涛 [Sat, 30 Jul 2011 07:56:32 +0000 (15:56 +0800)]
Revert "Fix rounding in clocks_calc_mult_shift()"

This reverts commit 2455208a7a55d588bcd081b54eacfcc7574356d9.

13 years agoRevert "lib: add support for LZO-compressed kernels"
黄涛 [Sat, 30 Jul 2011 07:55:13 +0000 (15:55 +0800)]
Revert "lib: add support for LZO-compressed kernels"

This reverts commit 3a3ba0241af46826678fd92ee0276150300b1f80.

13 years agoRevert "arm: add support for LZO-compressed kernels"
黄涛 [Sat, 30 Jul 2011 07:54:56 +0000 (15:54 +0800)]
Revert "arm: add support for LZO-compressed kernels"

This reverts commit c418f3acd26f289b11b043378656e1d000d97f87.

13 years agoRevert "timer: Added usleep_range timer"
黄涛 [Sat, 30 Jul 2011 07:54:41 +0000 (15:54 +0800)]
Revert "timer: Added usleep_range timer"

This reverts commit 18464b0b7575266595c3a1b8e0aab9198033b85e.

13 years agoRevert "clockevents: Use u32 for mult and shift factors"
黄涛 [Sat, 30 Jul 2011 07:53:44 +0000 (15:53 +0800)]
Revert "clockevents: Use u32 for mult and shift factors"

This reverts commit b7ad2a012ab29b9c7ebf9679b0b69a41165abc48.

13 years agotemp revert alarm change
黄涛 [Sat, 30 Jul 2011 07:41:14 +0000 (15:41 +0800)]
temp revert alarm change

13 years agotemp revert yaffs change
黄涛 [Sat, 30 Jul 2011 07:38:09 +0000 (15:38 +0800)]
temp revert yaffs change

13 years agotemp revert usb gadget change
黄涛 [Sat, 30 Jul 2011 07:28:49 +0000 (15:28 +0800)]
temp revert usb gadget change

13 years agotemp revert usb serial option change
黄涛 [Sat, 30 Jul 2011 07:28:06 +0000 (15:28 +0800)]
temp revert usb serial option change

13 years agotemp revert apanice change
黄涛 [Sat, 30 Jul 2011 07:26:22 +0000 (15:26 +0800)]
temp revert apanice change

13 years agotemp revert wakelock change
黄涛 [Sat, 30 Jul 2011 07:26:02 +0000 (15:26 +0800)]
temp revert wakelock change

13 years agonet: usb: refactor for 2.6.36
黄涛 [Sat, 30 Jul 2011 07:22:16 +0000 (15:22 +0800)]
net: usb: refactor for 2.6.36

13 years agowm8994:fix a bug on calling pop noise
邱建斌 [Wed, 27 Jul 2011 02:35:40 +0000 (10:35 +0800)]
wm8994:fix a bug on calling pop noise

13 years agocamera:fix ov5640 flash complite error
ddl [Fri, 29 Jul 2011 10:08:48 +0000 (18:08 +0800)]
camera:fix ov5640 flash complite error

13 years agofb: fix fb rotate bug
ddl [Fri, 29 Jul 2011 10:08:09 +0000 (18:08 +0800)]
fb: fix fb rotate bug

13 years agobq27541 board
clb [Fri, 29 Jul 2011 09:07:45 +0000 (17:07 +0800)]
bq27541 board

13 years agoMerge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
clb [Fri, 29 Jul 2011 08:46:31 +0000 (16:46 +0800)]
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop

13 years agoadd bq27541
clb [Fri, 29 Jul 2011 08:46:02 +0000 (16:46 +0800)]
add bq27541

13 years agork29: clock: default codec pll rate set to 297MHz
黄涛 [Fri, 29 Jul 2011 08:22:28 +0000 (16:22 +0800)]
rk29: clock: default codec pll rate set to 297MHz

13 years agork29phonesdk:touch screen->modify gt818 driver to fit the new touch screen panel
hhb [Fri, 29 Jul 2011 02:58:24 +0000 (10:58 +0800)]
rk29phonesdk:touch screen->modify gt818 driver to fit the new touch screen panel

13 years agoUse gpio for codec pop noise
陈金泉 [Fri, 29 Jul 2011 02:05:55 +0000 (10:05 +0800)]
Use gpio for codec pop noise

13 years agork29: memcpy_dma: fix section mismatch and initialization from incompatible pointer...
黄涛 [Fri, 29 Jul 2011 01:56:38 +0000 (09:56 +0800)]
rk29: memcpy_dma: fix section mismatch and initialization from incompatible pointer type warning

13 years agork29: ipp: fix section mismatch warning and include slab.h
黄涛 [Fri, 29 Jul 2011 01:51:59 +0000 (09:51 +0800)]
rk29: ipp: fix section mismatch warning and include slab.h

13 years agortc: HYM8563: include slab.h, prepare for 2.6.36
黄涛 [Fri, 29 Jul 2011 01:50:43 +0000 (09:50 +0800)]
rtc: HYM8563: include slab.h, prepare for 2.6.36

13 years agork29: cpufreq: fix section mismatch warning
黄涛 [Fri, 29 Jul 2011 01:48:10 +0000 (09:48 +0800)]
rk29: cpufreq: fix section mismatch warning

13 years agork29: rfkill: sdk: fix section mismatch warning
黄涛 [Fri, 29 Jul 2011 01:47:51 +0000 (09:47 +0800)]
rk29: rfkill: sdk: fix section mismatch warning

13 years agork29: rfkill: phonepadsdk: fix section mismatch warning
黄涛 [Fri, 29 Jul 2011 01:47:33 +0000 (09:47 +0800)]
rk29: rfkill: phonepadsdk: fix section mismatch warning

13 years agork29: rfkill: phonesdk: fix section mismatch warning
黄涛 [Fri, 29 Jul 2011 01:47:16 +0000 (09:47 +0800)]
rk29: rfkill: phonesdk: fix section mismatch warning

13 years agork29: rfkill: a22: fix section mismatch warning
黄涛 [Fri, 29 Jul 2011 01:47:02 +0000 (09:47 +0800)]
rk29: rfkill: a22: fix section mismatch warning

13 years agonewton: updata irda serial driver
lyx [Fri, 29 Jul 2011 01:26:21 +0000 (18:26 -0700)]
newton: updata irda serial driver
add ioctl get frame length and start send function

13 years agork29: ddr_recofig: add ddr_reconfig.c
黄涛 [Thu, 28 Jul 2011 11:43:10 +0000 (19:43 +0800)]
rk29: ddr_recofig: add ddr_reconfig.c

13 years agork29: add dynamic DDR reconfiguration support, default disabled
黄涛 [Thu, 28 Jul 2011 11:40:06 +0000 (19:40 +0800)]
rk29: add dynamic DDR reconfiguration support, default disabled

13 years agonet:wireless:bcm4329: add country code setting for various radio regulator domains.
lbt [Thu, 28 Jul 2011 10:40:52 +0000 (18:40 +0800)]
net:wireless:bcm4329: add country code setting for various radio regulator domains.

13 years agoRK29Smartphone:core voltage changed from 1.25v to 1.30v, when cpu frequecy is 1G Hz
phc [Thu, 28 Jul 2011 09:45:06 +0000 (17:45 +0800)]
RK29Smartphone:core voltage changed from 1.25v to 1.30v, when cpu frequecy is 1G Hz

13 years agork29: adc: fix error: incompatible type for argument 1 of spin_lock
黄涛 [Thu, 28 Jul 2011 07:20:41 +0000 (15:20 +0800)]
rk29: adc: fix error: incompatible type for argument 1 of spin_lock

13 years agocamera: update ov2655 sensor driver
ddl [Thu, 28 Jul 2011 07:27:26 +0000 (15:27 +0800)]
camera: update ov2655 sensor driver

13 years agoWM831X:enable battery FET
root [Wed, 27 Jul 2011 14:37:54 +0000 (22:37 +0800)]
WM831X:enable battery FET

13 years agork2818: remove all rk2818 stuff, prepare for 2.6.36
黄涛 [Thu, 28 Jul 2011 02:08:21 +0000 (10:08 +0800)]
rk2818: remove all rk2818 stuff, prepare for 2.6.36

13 years agonewton: add support for the pwm led and update board_rk29_newton.c
lmc [Wed, 27 Jul 2011 09:51:04 +0000 (17:51 +0800)]
newton: add support for the pwm led and update board_rk29_newton.c

13 years agocamera: update gc0308 sensor driver from 和天创
ddl [Wed, 27 Jul 2011 08:17:02 +0000 (16:17 +0800)]
camera: update gc0308 sensor driver from 和天创

13 years agofb:support 180 degree rotate
ddl [Wed, 27 Jul 2011 03:24:16 +0000 (11:24 +0800)]
fb:support 180 degree rotate

13 years agocamera: fix ov5640 driver auto focus may be failed
ddl [Thu, 21 Jul 2011 09:43:15 +0000 (17:43 +0800)]
camera: fix ov5640 driver auto focus may be failed

13 years agouvc: fix dqueue ioctl may hold on forever when sensor is dead
ddl [Thu, 21 Jul 2011 02:45:27 +0000 (10:45 +0800)]
uvc: fix dqueue ioctl may hold on forever when sensor is dead

13 years agocamera: fix ov2659 delay 600ms after capture and pmem allocate for 0.3 Mega
ddl [Tue, 19 Jul 2011 03:16:15 +0000 (11:16 +0800)]
camera: fix ov2659 delay 600ms after capture and pmem allocate for 0.3 Mega

13 years agocamera: fix ov5642 display abnormity moment after capture in focus infinity
ddl [Sat, 16 Jul 2011 02:54:41 +0000 (10:54 +0800)]
camera: fix ov5642 display abnormity moment after capture in focus infinity

13 years agocamera: update ov5642 driver
ddl [Tue, 12 Jul 2011 06:43:40 +0000 (14:43 +0800)]
camera: update ov5642 driver

13 years agocamera: fix camera open operation make a difference between O_RDONLY and O_RDWR for...
ddl [Tue, 12 Jul 2011 03:18:42 +0000 (11:18 +0800)]
camera: fix camera open operation make a difference between O_RDONLY and O_RDWR for accerate open device

13 years agocamera: fix 0.0.2 camera driver is not compatible 0.0.1 driver v4l2 format
ddl [Thu, 23 Jun 2011 07:56:52 +0000 (15:56 +0800)]
camera: fix 0.0.2 camera driver is not compatible 0.0.1 driver v4l2 format

13 years agocamera and uvc: support uvc sensor
ddl [Mon, 20 Jun 2011 07:17:23 +0000 (15:17 +0800)]
camera and uvc: support uvc sensor

13 years agonewton:disable usb host 1.1
蔡枫 [Wed, 27 Jul 2011 02:45:43 +0000 (10:45 +0800)]
newton:disable usb host 1.1

13 years agophonesdk: slove the warnimg that the gpio used but not request
xsf@rock-chips.com [Tue, 26 Jul 2011 10:05:42 +0000 (18:05 +0800)]
phonesdk: slove the warnimg that the gpio used but not request

13 years agolzg: close mirror in ov2655 for newton
lzg [Tue, 26 Jul 2011 09:55:42 +0000 (17:55 +0800)]
lzg: close mirror in ov2655 for newton

13 years agofb:src_vir_w and dst_vir_w of ipp request must be setted.
zyc [Tue, 26 Jul 2011 08:01:08 +0000 (01:01 -0700)]
fb:src_vir_w and dst_vir_w of ipp request  must be setted.

13 years agoMerge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
蔡枫 [Tue, 26 Jul 2011 03:08:08 +0000 (11:08 +0800)]
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop

13 years agonewton:update cs42l52 driver
蔡枫 [Tue, 26 Jul 2011 03:07:48 +0000 (11:07 +0800)]
newton:update cs42l52 driver

13 years agork29: phonesdk: cpufreq add 1G support
黄涛 [Tue, 26 Jul 2011 02:16:20 +0000 (10:16 +0800)]
rk29: phonesdk: cpufreq add 1G support

13 years agork29: clock: more increase aclk_cpu
黄涛 [Mon, 25 Jul 2011 08:57:50 +0000 (16:57 +0800)]
rk29: clock: more increase aclk_cpu

13 years agork29: cpufreq: support limit by voltage
黄涛 [Mon, 25 Jul 2011 08:56:19 +0000 (16:56 +0800)]
rk29: cpufreq: support limit by voltage

13 years agork29: include/linux/regulator/consumer.h: fix warning: no return statement in functio...
黄涛 [Mon, 25 Jul 2011 08:55:47 +0000 (16:55 +0800)]
rk29: include/linux/regulator/consumer.h: fix warning: no return statement in function returning non-void

13 years agork29: pm-vol.h: fix warning: no return statement in function returning non-void
黄涛 [Mon, 25 Jul 2011 08:54:53 +0000 (16:54 +0800)]
rk29: pm-vol.h: fix warning: no return statement in function returning non-void

13 years agocpufreq: ondemand: rk29 ignore nice default
黄涛 [Mon, 25 Jul 2011 08:32:34 +0000 (16:32 +0800)]
cpufreq: ondemand: rk29 ignore nice default

13 years agonewton:modify bu92747 irda_irq type for fir EOF
lyx [Mon, 25 Jul 2011 07:33:35 +0000 (00:33 -0700)]
newton:modify bu92747 irda_irq type for fir EOF

13 years agolzg:update mt9p111 and s5k6aa
lzg [Mon, 25 Jul 2011 07:13:51 +0000 (15:13 +0800)]
lzg:update mt9p111 and s5k6aa

13 years agonewton: update board-rk29-newton.c
lmc [Mon, 25 Jul 2011 06:22:30 +0000 (14:22 +0800)]
newton: update board-rk29-newton.c

13 years agoclockevents: Use u32 for mult and shift factors
Thomas Gleixner [Wed, 11 Nov 2009 14:05:25 +0000 (14:05 +0000)]
clockevents: Use u32 for mult and shift factors

The mult and shift factors of clock events differ in their data type
from those of clock sources for no reason. u32 is sufficient for
both. shift is always <= 32 and mult is limited to 2^32-1 to avoid
64bit multiplication overflows in the conversion.

Preparatory patch for a generic mult/shift factor calculation
function.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Mikael Pettersson <mikpe@it.uu.se>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Cc: John Stultz <johnstul@us.ibm.com>
LKML-Reference: <20091111134229.725664788@linutronix.de>

13 years agophonesdk: step voltage regulator for Vcore
xsf@rock-chips.com [Fri, 22 Jul 2011 10:26:18 +0000 (18:26 +0800)]
phonesdk: step voltage regulator for Vcore

13 years agoa22 and rk29 phonesdk:32K Frequency switch time cut short
张晴 [Fri, 22 Jul 2011 08:55:58 +0000 (01:55 -0700)]
a22 and rk29 phonesdk:32K Frequency switch time cut short

13 years agoRevert "rk29: add hr_msleep/hr_msleep_interruptible/usleep"
黄涛 [Fri, 22 Jul 2011 08:40:22 +0000 (16:40 +0800)]
Revert "rk29: add hr_msleep/hr_msleep_interruptible/usleep"

This reverts commit c4c6281fd76657b320bb68a1698d469a620ccb6b.

13 years agork29: add hr_msleep/hr_msleep_interruptible/usleep
黄涛 [Fri, 22 Jul 2011 08:19:53 +0000 (16:19 +0800)]
rk29: add hr_msleep/hr_msleep_interruptible/usleep

13 years agotimer: Added usleep_range timer
Patrick Pannuto [Mon, 2 Aug 2010 22:01:04 +0000 (15:01 -0700)]
timer: Added usleep_range timer

usleep_range is a finer precision implementations of msleep
and is designed to be a drop-in replacement for udelay where
a precise sleep / busy-wait is unnecessary.

Since an easy interface to hrtimers could lead to an undesired
proliferation of interrupts, we provide only a "range" API,
forcing the caller to think about an acceptable tolerance on
both ends and hopefully avoiding introducing another interrupt.

INTRO

As discussed here ( http://lkml.org/lkml/2007/8/3/250 ), msleep(1) is not
precise enough for many drivers (yes, sleep precision is an unfair notion,
but consistently sleeping for ~an order of magnitude greater than requested
is worth fixing). This patch adds a usleep API so that udelay does not have
to be used. Obviously not every udelay can be replaced (those in atomic
contexts or being used for simple bitbanging come to mind), but there are
many, many examples of

mydriver_write(...)
/* Wait for hardware to latch */
udelay(100)

in various drivers where a busy-wait loop is neither beneficial nor
necessary, but msleep simply does not provide enough precision and people
are using a busy-wait loop instead.

CONCERNS FROM THE RFC

Why is udelay a problem / necessary? Most callers of udelay are in device/
driver initialization code, which is serial...

As I see it, there is only benefit to sleeping over a delay; the
notion of "refactoring" areas that use udelay was presented, but
I see usleep as the refactoring. Consider i2c, if the bus is busy,
you need to wait a bit (say 100us) before trying again, your
current options are:

* udelay(100)
* msleep(1) <-- As noted above, actually as high as ~20ms
on some platforms, so not really an option
* Manually set up an hrtimer to try again in 100us (which
  is what usleep does anyway...)

People choose the udelay route because it is EASY; we need to
provide a better easy route.

Device / driver / boot code is *currently* serial, but every few
months someone makes noise about parallelizing boot, and IMHO, a
little forward-thinking now is one less thing to worry about
if/when that ever happens

udelay's could be preempted

Sure, but if udelay plans on looping 1000 times, and it gets
preempted on loop 200, whenever it's scheduled again, it is
going to do the next 800 loops.

Is the interruptible case needed?

Probably not, but I see usleep as a very logical parallel to msleep,
so it made sense to include the "full" API. Processors are getting
faster (albeit not as quickly as they are becoming more parallel),
so if someone wanted to be interruptible for a few usecs, why not
let them? If this is a contentious point, I'm happy to remove it.

OTHER THOUGHTS

I believe there is also value in exposing the usleep_range option; it gives
the scheduler a lot more flexibility and allows the programmer to express
his intent much more clearly; it's something I would hope future driver
writers will take advantage of.

To get the results in the NUMBERS section below, I literally s/udelay/usleep
the kernel tree; I had to go in and undo the changes to the USB drivers, but
everything else booted successfully; I find that extremely telling in and
of itself -- many people are using a delay API where a sleep will suit them
just fine.

SOME ATTEMPTS AT NUMBERS

It turns out that calculating quantifiable benefit on this is challenging,
so instead I will simply present the current state of things, and I hope
this to be sufficient:

How many udelay calls are there in 2.6.35-rc5?

udealy(ARG) >= | COUNT
1000 | 319
500 | 414
100 | 1146
20 | 1832

I am working on Android, so that is my focus for this. The following table
is a modified usleep that simply printk's the amount of time requested to
sleep; these tests were run on a kernel with udelay >= 20 --> usleep

"boot" is power-on to lock screen
"power collapse" is when the power button is pushed and the device suspends
"resume" is when the power button is pushed and the lock screen is displayed
         (no touchscreen events or anything, just turning on the display)
"use device" is from the unlock swipe to clicking around a bit; there is no
sd card in this phone, so fail loading music, video, camera

ACTION | TOTAL NUMBER OF USLEEP CALLS | NET TIME (us)
boot | 22 | 1250
power-collapse | 9 | 1200
resume | 5 | 500
use device | 59 | 7700

The most interesting category to me is the "use device" field; 7700us of
busy-wait time that could be put towards better responsiveness, or at the
least less power usage.

Signed-off-by: Patrick Pannuto <ppannuto@codeaurora.org>
Cc: apw@canonical.com
Cc: corbet@lwn.net
Cc: arjan@linux.intel.com
Cc: Randy Dunlap <rdunlap@xenotime.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>