Commit Graph

45590 Commits

Author SHA1 Message Date
lintao
fe3debe917 sdio: 1 add invalid bus width log;
2 fix SDIO_CCCR_IF bus width setting
2013-09-09 10:17:49 +08:00
赵子初
61ce31f96e add support for huawei e1230s/e1220s 2013-09-06 16:16:31 +08:00
luowei
f7d7863e3f add angle caculation support between two gsensor 2013-09-03 19:34:30 +08:00
luowei
7ab06c4331 add board id to support OneImage solution 2013-09-03 18:47:51 +08:00
张晴
af0c7815fe rk3188:pmu:rt5025:updata rt5025 drivers, modify some fg and charger bug 2013-08-24 16:17:34 +08:00
cym
8f3a71ed80 RK3168/RK3188:add preread ddr_freq_t.screen_ft_us/t0 when define
DDR_CHANGE_FREQ_IN_LCDC_VSYNC,and add test_count maximum limit
2013-08-10 15:55:01 +08:00
张晴
704a637457 rk3188:pmu_rt5025:updata rt5025 drivers,modify some bug 2013-08-10 10:28:23 +08:00
张晴
f28bf8262b rk3188:pmu-ricoh619:updata the drivers,modify some rtc and fg bug 2013-08-09 11:46:18 +08:00
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
yxj
add5bbb626 move screen、transmitter、tve to rockchip
screen:indepent from jetta scaler
screen private info indepent from rk_screen
2013-06-14 12:58:15 +08:00
xuhuicong
e535c3aa34 battery: add usb chage support to cw2015 battery driver and some other improve 2013-06-09 15:49:34 +08:00
张晴
a0ae9d7804 ricoh619:ricoh619 pmu modify set mode and init reg 2013-06-08 14:25:54 +08:00
张晴
d710d2c98d ricoh619:update the 619 drivers 2013-06-01 16:02:55 +08:00
黄涛
782c10d4cc rk808: fix compile error when build without earlysuspend support 2013-05-24 16:33:29 +08:00
赵子初
3357370c26 add a85xx support 2013-05-21 18:12:15 +08:00
赵子初
62dfc8a780 add some bp id 2013-05-21 11:52:47 +08:00
yxj
6111641269 mfd:rk616:modify some operation for vif 2013-05-19 15:43:41 +08:00
zzy
d24c73a5fd add SEW290 3G modem 2013-05-13 14:14:02 +08:00
yxj
38caee79e1 rk screen:fix vif support 2013-05-08 21:11:42 +08:00
yxj
f08ce859f2 mfd:rk616:vif:support hdmi only mode 2013-05-08 21:11:42 +08:00
陈金泉
53036fa11b fix codec pop noise 2013-05-08 16:50:54 +08:00
yxj
89a2c8a5b5 mdf:rk616:vif:set mclk to 12M when vif on 2013-05-07 17:26:44 +08:00
yxj
b62130a148 mdf:rk616:vif:add vif set for hdmi 2013-05-07 16:05:50 +08:00
yxj
baaaae0f0c mfd:rk616:vif:fix dual lvds support 2013-05-07 16:05:50 +08:00
xxx
9105fbf296 add uart\sdmmc 48M supporting 2013-05-07 14:51:45 +08:00
wdc
f92746e099 rda5876 bt: update driver for android4.2 2013-05-04 10:13:21 +08:00