Commit Graph

271426 Commits

Author SHA1 Message Date
黄涛
caba97fc05 fs/partitions: mtdpart: add command line fix for rk emmc 2013-07-22 11:36:25 +08:00
张晴
0d5f5ecb94 rk3026:pmu:modify tps65910 defult voltage 2013-07-20 17:14:39 +08:00
ywj
e5e0500fb3 factoryToolV4.0 support on rk3168,lcd,bL,codec,tp,usbwifi,battery control by parameter 2013-07-20 15:40:09 +08:00
kfx
214649ba0f emmc: do NOT alloc boot partition now 2013-07-20 14:51:00 +08:00
chenxing
1193299d11 rk2928: pm.c refactoring as rk30 2013-07-20 14:49:47 +08:00
许盛飞
964527fd38 the VDDLOG_CTL pin is GPIO3_D4, not GPIO3_D6 2013-07-20 09:26:45 +08:00
许盛飞
d77aec8834 add the function of calling-in-suspend 2013-07-20 09:13:30 +08:00
hjc
9cd29458e1 rk3188 lcdc: fix screen flash when use win1 2013-07-19 19:56:02 +08:00
kfx
78b87074ab mtdpart: put_partition: start from p1 2013-07-19 18:54:53 +08:00
chenxing
6d482ee8ce rk3188: -t: fix ddr volt too low 2013-07-19 17:31:54 +08:00
chenxing
b7de05e89d Revert "rk3188: -t: fix ddr volt too low"
This reverts commit dd633aeaf0.
2013-07-19 17:31:53 +08:00
zyc
cd95f006d0 camera:cif support rk3188M 2013-07-19 16:56:22 +08:00
chenxing
dd633aeaf0 rk3188: -t: fix ddr volt too low 2013-07-19 16:09:18 +08:00
yj
e1ce3c5325 F304: add board & tp 2013-07-19 14:26:52 +08:00
hhb
59bd15e743 add lcd B080XAN02 driver 2013-07-19 12:57:16 +08:00
hhb
50cd57778d mipi dsi: add HSDT and LPDT, and version tag 2013-07-19 12:30:38 +08:00
Imre Deak
1a2d35126f wait: fix false timeouts when using wait_event_timeout()
commit 4c663cfc52 upstream.

Many callers of the wait_event_timeout() and
wait_event_interruptible_timeout() expect that the return value will be
positive if the specified condition becomes true before the timeout
elapses.  However, at the moment this isn't guaranteed.  If the wake-up
handler is delayed enough, the time remaining until timeout will be
calculated as 0 - and passed back as a return value - even if the
condition became true before the timeout has passed.

Fix this by returning at least 1 if the condition becomes true.  This
semantic is in line with what wait_for_condition_timeout() does; see
commit bb10ed09 ("sched: fix wait_for_completion_timeout() spurious
failure under heavy load").

Daniel said "We have 3 instances of this bug in drm/i915.  One case even
where we switch between the interruptible and not interruptible
wait_event_timeout variants, foolishly presuming they have the same
semantics.  I very much like this."

One such bug is reported at
  https://bugs.freedesktop.org/show_bug.cgi?id=64133

Signed-off-by: Imre Deak <imre.deak@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: David Howells <dhowells@redhat.com>
Acked-by: Jens Axboe <axboe@kernel.dk>
Cc: "Paul E.  McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Dave Jones <davej@redhat.com>
Cc: Lukas Czerner <lczerner@redhat.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>
2013-07-19 11:04:30 +08:00
OGAWA Hirofumi
527f375c0b fat: fix possible overflow for fat_clusters
commit 7b92d03c32 upstream.

Intermediate value of fat_clusters can be overflowed on 32bits arch.

Reported-by: Krzysztof Strasburger <strasbur@chkw386.ch.pwr.wroc.pl>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
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>
2013-07-19 09:50:08 +08:00
Alan Stern
71ddb98dfa NLS: improve UTF8 -> UTF16 string conversion routine
commit 0720a06a75 upstream.

The utf8s_to_utf16s conversion routine needs to be improved.  Unlike
its utf16s_to_utf8s sibling, it doesn't accept arguments specifying
the maximum length of the output buffer or the endianness of its
16-bit output.

This patch (as1501) adds the two missing arguments, and adjusts the
only two places in the kernel where the function is called.  A
follow-on patch will add a third caller that does utilize the new
capabilities.

The two conversion routines are still annoyingly inconsistent in the
way they handle invalid byte combinations.  But that's a subject for a
different patch.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-07-19 09:49:57 +08:00
黄涛
938ad49aa5 rk: cpu.c support rk3026 2013-07-18 19:38:28 +08:00
ZHW
56bd854a9a lvds:support rk3028a_lvds,config:"RK3028a_LVDS" 2013-07-18 17:58:08 +08:00
chenxing
5a29d9bf65 rk2928: add aclk_vio_pre src_sel; fix peri_clk realc func, uart1 sel_con 2013-07-18 14:43:09 +08:00
xhc
addaac5ef1 rk616: Set rk616 config i2s on DMA event mode to static mode 2013-07-18 12:57:01 +08:00
chenxing
3c9d986eef rk3026: format clock_data.c 2013-07-18 12:31:07 +08:00
kfx
12cc0fc4a9 rk3026: 'rk3026 top board' && 'rk3028a top board' support 2013-07-18 11:59:37 +08:00
kfx
0f08180863 sdmmc: fixed compile error 2013-07-18 11:37:37 +08:00
chenxing
27b62b9917 rk3026: add clock_data support 2013-07-18 10:32:09 +08:00
黄涛
30af6f70b9 rk2928: gpio.h add RK30 define 2013-07-17 19:03:37 +08:00
黄涛
1bedeca093 rk: Kconfig add RK3026 support 2013-07-17 12:57:28 +08:00
张晴
0264dfee4e rk31:rt5025:modify rt5025 defult voltage 2013-07-16 20:51:00 +08:00
yxj
1802f53782 board rk3188m tb:set max cpu frequency to 1296 MHZ 2013-07-16 17:37:53 +08:00
邱建斌
67cc50eb99 spdif: spdif use dma static mode 2013-07-16 16:16:49 +08:00
kfx
06ae80f613 iomux: Uniform Naming: I2S0_MCLK && I2S0_LRCKRX 2013-07-16 10:29:49 +08:00
黄涛
f3cea814bf ARM: RK: add initial support for RK3026 2013-07-15 18:08:00 +08:00
cym
81ad528222 RK3188T:1)fix ddr change frequency bug for RK3188T
2)fix LPDDR2 burst length set bug
2013-07-12 15:57:55 +08:00
chenxing
f75b8858cd rk3188: fix ddr pll do not update status 2013-07-12 15:48:36 +08:00
chenxing
c536c367cb rk: add function to get dvfs table range 2013-07-12 15:48:36 +08:00
xuhuicong
247368a8b0 rk616 hdmi: default vif 12M rebuild 2013-07-12 15:16:28 +08:00
xuhuicong
5ee8b53459 rk616 hdmi: modify some time edid read err and delete some no necessary log 2013-07-12 15:14:29 +08:00
chenxing
d324dea3ad rk: support resume rate when disable limit after enable multiple 2013-07-12 14:43:55 +08:00
黄涛
22e6221d73 rk: gpio.h: make gpio irq num same as gpio num 2013-07-12 14:17:14 +08:00
hjc
a48b48eef7 rk3168m: modify defconfig for new ic 2013-07-12 11:16:01 +08:00
chenxing
1bb0806ff6 rk3066: fix compile warning 2013-07-12 11:04:50 +08:00
chenxing
d0d8ba8ef2 rk3066: fix i2s frac div do not effect 2013-07-12 11:04:49 +08:00
hwg
9636f52be0 mt5931: solve rk3188 and rk3168 compatible problem 2013-07-12 11:02:18 +08:00
xbw
71cf734496 MT6620: eliminate the warning about mt6620-gps 2013-07-12 09:30:32 +08:00
yxj
62d274681e rk fb: add read/write support 2013-07-11 15:56:22 +08:00
张晴
491dd59250 rk31:ricoh619:modify fg and charger 2013-07-11 10:13:54 +08:00
xbw
5effbc0271 MT6620: set the sdio clk to 50Mhz 2013-07-11 09:29:03 +08:00
hhb
5dcdf1703f mipi dsi: make sure that DCS sent in command mode HS is OK 2013-07-10 19:51:28 +08:00