Commit Graph

399558 Commits

Author SHA1 Message Date
zwl
2eb5689aed rk fb: modify some danger code 2014-05-29 20:37:54 +08:00
zwl
7451609b47 rk fb: coding style for upstream 2014-05-29 20:14:29 +08:00
黄涛
4ba1dcccb0 ARM: rockchip: rockchip_defconfig enable SWP_EMULATE 2014-05-29 14:53:29 +08:00
郭毅
eecf222e7c p977_8846: dts: recovery brightness 2014-05-29 11:16:25 +08:00
zwl
978f876661 rk hdmi: coding style for upstream 2014-05-29 11:10:44 +08:00
郭毅
e352e8bb31 p977: dts: open i2c3 to make camera work fine 2014-05-29 09:51:52 +08:00
dkl
0a450169ab clk: rk3288: when apll change rate, adjust div to make rate change more gently 2014-05-28 17:45:06 +08:00
dkl
9f004277ef clk: rockchip: add rk3188plus_pll_com_table and some marcos, to
separate CLK_PLL_3188PLUS pll type from CLK_PLL_3188 better.
2014-05-28 15:14:19 +08:00
zyc
bf71f49640 camsys driver: v0.b.0 2014-05-28 13:54:41 +08:00
lintao
dc0f554d9f mmc: host: rk_sdmmc:
Use clk subsystem interface to judge enable_cnt refer number
2014-05-28 08:31:14 +08:00
lintao
ed35a474e9 mmc: host: rk_sdmmc.c
Fix 67f4bf0667 and move sdio-relative clk managerment in
dw_mci_set_sdio_status.
2014-05-28 08:19:55 +08:00
黄涛
e56e1214dc ARM: PIE: empty.S add __gnu_mcount_nc, fix for function tracer 2014-05-27 18:37:34 +08:00
黄涛
20c152bbc7 ARM: rockchip: fix for function tracer 2014-05-27 18:37:34 +08:00
郭毅
5f26f3a306 p977: dts: disabled unused spi and i2c to reducing power consumption 2014-05-27 17:48:12 +08:00
CMY
b7609de194 rk: bt: to solve problem that bluetooth can not wake up system 2014-05-27 17:36:10 +08:00
zwl
f3aed3056a rk32 lcdc and hdmi: add report rk system status 2014-05-27 17:04:07 +08:00
张晴
ea281355f6 rk3288:pmic:rk808&act8846:slove init suspend and resume when device init failed;modify rk808 shutdown func 2014-05-27 17:02:31 +08:00
黄涛
c607c9a2c6 ARM: rockchip: show Processor on cpuinfo, for some Andorid QQ games 2014-05-27 16:52:03 +08:00
lintao
1fbb36ebab fs: partitions:
Fix new partitions size limit bug. Make no sense compare sector_t size
    to PAGE_SIZE, and that will fail partition add when too small part definition in
    parameter. Now, NO LIMIT for partition size.
2014-05-27 16:32:17 +08:00
hjc
af1283a6fd rk3288 lcdc: add support BCSH func 2014-05-27 16:15:47 +08:00
陈亮
ba679313e6 Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10 2014-05-26 23:35:41 -07:00
陈亮
cc1cd797fa 1.add rk_system_status.c, listen system status ,and prepare something for new status. 2.serialize ddrfreq, ensure that change ddrfreq is done before enter new status 2014-05-26 23:32:01 -07:00
郭毅
72312602cd P977_8846: dts: updata cw2015's parameters 2014-05-27 14:23:07 +08:00
zwl
ddc1df0177 rk3288 hdmi: coding style for upstream 2014-05-27 11:48:33 +08:00
张晴
8f8749c359 rk3288:pmic:ricoh619:modify some warning 2014-05-27 09:28:18 +08:00
zwl
d3699138a9 rk fb: add ion unmap for fb 2014-05-26 21:30:48 +08:00
lintao
67f4bf0667 mmc: host: rk_sdmmc:
Fix clk enable/disable mismatch issue and disable clk when controller
doesn't been used ever for better power consumption.
2014-05-26 17:07:09 +08:00
张晴
50fa88d460 rk3288:pmic:ricoh619:slove reboot i2c error;modify power off;slove fg 100% 2014-05-26 16:32:01 +08:00
ljf
c53dae4ae8 rk3288: judge mmu status when deinitialize register structure 2014-05-26 15:28:11 +08:00
陈亮
436456dfb0 dvfs: avoid round a rate two times since it may cause round wrong value at second time 2014-05-25 19:36:50 -07:00
zwl
2604d38833 fix primary screen display crash when playing video and just insert HDMI 2014-05-24 15:55:56 +08:00
CMY
d5479ef947 rk: ion: resolve sg table alloc failed when iommu has enable 2014-05-23 18:25:30 +08:00
黄涛
fa7b795ddf ARM: rockchip: add support bootloader charge 2014-05-23 15:17:10 +08:00
陈亮
f813a418a9 rk3288: raise logic to 1.1V when vop work 2014-05-22 23:34:00 -07:00
黄涛
2c7bc20227 rtc: HYM8563: fix double free bug when probe failed 2014-05-23 14:14:16 +08:00
xxm
2f4e12598f rockchip:midgard:1,fix division by zero when gpu freq table have only one item 2,add temperature control when reach 110 2014-05-23 11:18:12 +08:00
ddl
39bebfff1a camsys_drv: v0.a.0 2014-05-23 09:18:56 +08:00
Jan Kara
f51667e9c7 bdi: avoid oops on device removal
commit 5acda9d12d upstream.

After commit 839a8e8660 ("writeback: replace custom worker pool
implementation with unbound workqueue") when device is removed while we
are writing to it we crash in bdi_writeback_workfn() ->
set_worker_desc() because bdi->dev is NULL.

This can happen because even though bdi_unregister() cancels all pending
flushing work, nothing really prevents new ones from being queued from
balance_dirty_pages() or other places.

Fix the problem by clearing BDI_registered bit in bdi_unregister() and
checking it before scheduling of any flushing work.

Fixes: 839a8e8660

Reviewed-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Derek Basehore <dbasehore@chromium.org>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

(cherry picked from commit bf0972039d)
2014-05-22 21:11:01 +08:00
Derek Basehore
a66396333f backing_dev: fix hung task on sync
commit 6ca738d60c upstream.

bdi_wakeup_thread_delayed() used the mod_delayed_work() function to
schedule work to writeback dirty inodes.  The problem with this is that
it can delay work that is scheduled for immediate execution, such as the
work from sync_inodes_sb().  This can happen since mod_delayed_work()
can now steal work from a work_queue.  This fixes the problem by using
queue_delayed_work() instead.  This is a regression caused by commit
839a8e8660 ("writeback: replace custom worker pool implementation with
unbound workqueue").

The reason that this causes a problem is that laptop-mode will change
the delay, dirty_writeback_centisecs, to 60000 (10 minutes) by default.
In the case that bdi_wakeup_thread_delayed() races with
sync_inodes_sb(), sync will be stopped for 10 minutes and trigger a hung
task.  Even if dirty_writeback_centisecs is not long enough to cause a
hung task, we still don't want to delay sync for that long.

We fix the problem by using queue_delayed_work() when we want to
schedule writeback sometime in future.  This function doesn't change the
timer if it is already armed.

For the same reason, we also change bdi_writeback_workfn() to
immediately queue the work again in the case that the work_list is not
empty.  The same problem can happen if the sync work is run on the
rescue worker.

[jack@suse.cz: update changelog, add comment, use bdi_wakeup_thread_delayed()]
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Alexander Viro <viro@zento.linux.org.uk>
Reviewed-by: Tejun Heo <tj@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: Derek Basehore <dbasehore@chromium.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: Benson Leung <bleung@chromium.org>
Cc: Sonny Rao <sonnyrao@chromium.org>
Cc: Luigi Semenzato <semenzato@chromium.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

(cherry picked from commit 39305a6ac7)
2014-05-22 21:10:39 +08:00
wlf
38d12ba9ca USB: add dwc_otg_usb_state function for vbus power control. 2014-05-22 17:44:22 +08:00
张晴
77b2eae948 rk3288:pmic:ricoh619:slove pwrkey missed when wakeup;modify some fg error 2014-05-22 16:53:53 +08:00
zwl
eeaf3becf3 rk fb: add set win state in set_par and pan_display that may use for BOX 2014-05-22 16:03:39 +08:00
lintao
3ad1679c5b mmc: host: rk_sdmmc:
When sysyem enter suspend, MHSC would be power-off, and the CD int
    will be trigger after controller power-on sequential flow, it's wrong case
    for sd card always in slot! Move it to routine_card to judge present state
    and decide whether to wakeup screen or not. Now, SHOULD NOT disable vcc_sd
    in regulator_state_mem .

    [28890.551808] mmc_sd_detect(mmc1): Unable to re-detect card (-110)
    [28890.551842] mmc1: card 1234 removed
    [28890.856547] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
    [28891.163590] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
    [28891.163709] rk_sdmmc: BOOT Bus speed=50000000Hz,Bus width=4bits.[mmc1]
    [28891.163766] mmc1: new high speed SDHC card at address 1234
    [28891.164460] mmcblk1: mmc1:1234 SA32G 29.3 GiB
    [28891.165939] mmcblk1: p1
2014-05-22 15:36:27 +08:00
黄涛
a554b12b59 ARM: rockchip: fix rk3288 tsadc_int pinctrl 2014-05-22 15:11:52 +08:00
wlf
a8dda01fcd USB: fix Coding Style. 2014-05-22 11:30:11 +08:00
zwl
b6f6268626 rk fb: modify fb align for improve gpu ddr utilization 2014-05-22 09:22:19 +08:00
黄涛
cdeca016f0 clocksource: rockchip_timer: rk_timer_read_current_value64 return u64 2014-05-22 08:30:40 +08:00
陈亮
2503f7a325 fix bug: ddr freq will not change any more when video quit abnormal 2014-05-21 05:16:45 -07:00
陈亮
7dc0b3f526 ddrfreq: separate ddr from clk frame to fix dead lock and advance performance 2014-05-21 02:11:06 -07:00
ljf
129ae0dd4f rk3288: remove unused files and config (old vpu service) 2014-05-21 16:18:41 +08:00