Commit Graph

45582 Commits

Author SHA1 Message Date
hhb
2572d8667c mipi dsi: add mclk change from 11289600 to 12M 2013-08-06 10:32:51 +08:00
hjc
d2f82fa2f0 rk fb: add rk31xx interface rk_fb_poll_wait_frame_complete for ddr and fps freq 2013-08-05 16:30:24 +08:00
lintao
148a250487 SD(io)/(e)MMC: update mmc flow, continue commit-sha19896ff517b38c2c2db17980a71dca8cd23fb8585 2013-08-05 10:39:07 +08:00
lintao
9896ff517b SD(io)/(e)MMC: continue commit-sha1 ea8dee5391 2013-08-05 09:09:31 +08:00
lintao
ea8dee5391 SDIO:
1. add SDIO v3.0
    2. interface for set_volate retry while busy in ACMD41, 10 times will been TMO
2013-08-02 18:12:47 +08:00
陈金泉
3fc434b8ed rk616 codec: add tiny alsa route(playback capture incall) support 2013-07-31 11:01:49 +08:00
luowei
bfa88626ac sensor:add gsensor lsm303d support 2013-07-30 17:47:42 +08:00
hjc
dafe647cc1 rk3188 lcdc:add support rk3026/rk3028a lcdc and iep 2013-07-25 11:17:20 +08:00
wlq
51bd07b11b 【修改内容】更新bp-auto驱动
【涉及文件】
	drivers/misc/bp/bp-auto.c
	drivers/misc/bp/chips/Kconfig
	drivers/misc/bp/chips/Makefile
	drivers/misc/bp/chips/a85xx.c
	drivers/misc/bp/chips/aw706.c
	drivers/misc/bp/chips/m51.c
	drivers/misc/bp/chips/sc6610.c
	include/linux/bp-auto.h
2013-07-23 18:16:49 +08:00
张晴
8f3906c52e rk3188:pmu:rt5025:modify some bug for pmu charger & irq & guage 2013-07-23 11:04:22 +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
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
张晴
491dd59250 rk31:ricoh619:modify fg and charger 2013-07-11 10:13:54 +08:00
Adrian Hunter
b59a03d3b1 mmc: queue: let host controllers specify maximum discard timeout
Some host controllers will not operate without a hardware
timeout that is limited in value.  However large discards
require large timeouts, so there needs to be a way to
specify the maximum discard size.

A host controller driver may now specify the maximum discard
timeout possible so that max_discard_sectors can be calculated.

However, for eMMC when the High Capacity Erase Group Size
is not in use, the timeout calculation depends on clock
rate which may change.  For that case Preferred Erase Size
is used instead.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2013-07-08 12:38:28 +08:00
张晴
236516672f rk31xx:RT5025:support pmic rt5025 2013-07-04 15:09:13 +08:00
kfx
e27d49b6c1 Merge commit "aa8b683a7d392271ed349c6ab9f36b8c313794b7" of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linu
mmc: core: add non-blocking mmc request function

    Previously there has only been one function mmc_wait_for_req()
    to start and wait for a request. This patch adds:

     * mmc_start_req() - starts a request wihtout waiting
         If there is on ongoing request wait for completion
         of that request and start the new one and return.
         Does not wait for the new command to complete.

    This patch also adds new function members in struct mmc_host_ops
    only called from core.c:

     * pre_req - asks the host driver to prepare for the next job
     * post_req - asks the host driver to clean up after a completed job

    The intention is to use pre_req() and post_req() to do cache maintenance
    while a request is active. pre_req() can be called while a request is
    active to minimize latency to start next job. post_req() can be used after
    the next job is started to clean up the request. This will minimize the
    host driver request end latency. post_req() is typically used before
    ending the block request and handing over the buffer to the block layer.

    Add a host-private member in mmc_data to be used by pre_req to mark the
    data. The host driver will then check this mark to see if the data is
    prepared or not.
2013-07-04 11:27:10 +08:00
hjc
01df44d607 rk3188 lcdc:support uboot display 2013-06-29 10:06:16 +08:00
yxj
304e07b32c mfd:rk616: vif:add sync mode
core:add write_dev_bits interface
2013-06-28 12:12:49 +08:00
yxj
d78f2d3e8f mfd:rk616:support power down in suspend,add config to enable/disable debug message 2013-06-25 10:04:18 +08:00
luowei
2c9f4903b5 sensor:add gsensor dmard10 support 2013-06-21 09:58:22 +08:00
luowei
479a139766 sensor:add gyro ewtsa support 2013-06-19 17:52:23 +08:00
yxj
3354abbb0d screen:modify some screen config file for new screen framework 2013-06-17 10:43:37 +08:00
hhb
3ce47ce17a mipi: modify dsi framework and add rk616 mipi dis dirver 2013-06-14 16:00:08 +08:00
yxj
00bb9ed2ab rk2928 rk610 rk616 lvds:indepent from screen config file 2013-06-14 12:58:16 +08:00
yxj
68adf6b0ac rk fb:add interface to get pixclock and primary screen
fix one lcdc dual output
2013-06-14 12:58:15 +08:00