Commit graph

18,148 commits

Author SHA1 Message Date
kfx
3b403975b5 update hdmi driver 2011-05-06 09:23:14 +08:00
kfx
3901afba10 add new hdmi driver and update sdmmc driver 2011-05-04 11:27:54 +08:00
phc
aaf6c7aab7 RK29 Mobile SDK:update mtk23d to sync with RK2818-project 2011-05-03 17:14:25 +08:00
邱建斌
281a958bde rk29_phone: wm8994 volume pdata fix 2011-05-03 16:07:15 +08:00
phc
3d91347adc RKMobileSDK:add reset ioctl for 23d 2011-04-25 17:19:26 +08:00
root
eccb332a70 xxm FIH:update touch panel && UART3 2011-04-25 17:10:15 +08:00
lyx
6bc981e2f2 rollback gsensor mmaio num 2011-04-24 19:10:36 -07:00
黄涛
4431b3de6d wakelock: port from HTC, dump active wake lock name when unable to suspend 2011-04-23 09:08:19 +08:00
lyx
c75ca5c6d4 modify gsensor and compass drivers 2011-04-20 22:17:01 -07:00
linjh
32eef04ee2 add gyroscope driver 2011-04-20 10:12:02 +08:00
zyw
e25444f917 add a ioctl case in fb0, return current screen type 2011-04-18 15:50:19 +08:00
zyw
8e7de66d9b modify fb hdmi for default output device 2011-04-18 15:43:49 +08:00
luowei
99331f5bc0 improve mtk23d driver's compatibility 2011-04-15 10:38:05 +08:00
邱建斌
9cd1c9dd57 rk29_wm8994: spk Power Amplifier Interface Change 2011-04-11 14:36:46 +08:00
kfx
e0181c05d6 update i2c driver: read/wirte delay 2011-04-11 10:30:46 +08:00
邱建斌
10ac2d413d rk29: wm8994 pdata修改 2011-04-09 17:07:26 +08:00
kfx
5c81d131c6 update sdmmc drivers: case of no detect gpio and update i2c driver: read/wirte delay 2011-04-09 15:10:55 +08:00
kfx
5956849099 update sdmmc drivers and conifg:'Enable paranoid SD card initialization' 2011-04-09 12:49:28 +08:00
phc
49f53f59d8 RK29 Mobile SDK:mtk23 modem support 2011-04-03 17:21:53 +08:00
lbt
497d73bf43 update mmc stack from linux2.6.35
sdio: add quirk to clamp byte mode transfer

    Some SDIO cards expect byte transfers not to exceed the configured block
    transfer size.  Add a quirk to that effect.
2011-03-22 19:13:19 +08:00
ddl
63415cbc22 leds : add support att1272 white led driver for camera flash led 2011-03-12 00:25:16 +08:00
kfx
164ed84c3e update adc driver modify 'sync_read bug' 2011-03-22 08:46:37 +08:00
Thomas Gleixner
cfc80b6829 clocksource: Provide a generic mult/shift factor calculation
MIPS has two functions to calculcate the mult/shift factors for clock
sources and clock events at run time. ARM needs such functions as
well.

Implement a function which calculates the mult/shift factors based on
the frequencies to which and from which is converted. The function
also has a parameter to specify the minimum conversion range in
seconds. This range is guaranteed not to produce a 64bit overflow when
a value is multiplied with the calculated mult factor. The larger the
conversion range the less becomes the conversion accuracy.

Provide two inline wrappers which handle clock events and clock
sources. For clock events the "from" frequency is nano seconds per
second which corresponds to 1GHz and "to" is the device frequency. For
clock sources "from" is the device frequency and "to" is nano seconds
per second.

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.766673305@linutronix.de>
2011-03-11 12:46:18 +08:00
root
7fe63eebbe in video mode chage ui to 565 fail 2011-03-10 17:08:32 +08:00
root
bb754595de In video mode change to PIXEL_FORMAT_RGB_565 2011-03-09 16:27:27 +08:00
蔡枫
ad9e546646 add hardware cursor support, auto switch to hardware cursor mode when using TVOUT or HDMI output 2011-03-09 11:17:40 +08:00
邱建斌
84a568df72 添加wm8994驱动支持 2011-03-04 14:31:56 +08:00
ubuntu
92bf30d7fd cwz update tps65910 irq 2011-03-03 19:09:16 -08:00
root
3ace2326bc (xxm) update FIH: 1,add mpu3050 2,update rk29_FIH_defconfig 3,update touch screen 2011-03-01 20:36:31 +08:00
ubuntu
520c6215ad cwz add tps65910 driver 2011-02-27 18:19:53 -08:00
luowei
97821cf736 update wm831x header files from rk2818 2011-02-26 14:49:33 +08:00
root
43177bd13d get framebuff phyaddress 2011-02-21 17:01:41 +08:00
黄涛
84aa38e58d Merge remote branch 'linux-2.6.32.y/master' into develop
Conflicts:
	drivers/net/wireless/orinoco/main.c
	drivers/net/wireless/orinoco/wext.c
	drivers/net/wireless/p54/p54usb.c
2011-02-13 10:25:30 +08:00
xjh
33551f0cc4 remove mma8452 when register fail 2011-02-12 17:03:48 +08:00
root
ce66949d2a add Dma mem to mem 2011-01-26 15:55:28 +08:00
zhaoyifeng
1cb77a4a76 support 4GB disk. 2011-01-21 18:03:02 +08:00
Martin K. Petersen
dce52eace9 block: Deprecate QUEUE_FLAG_CLUSTER and use queue_limits instead
commit e692cb668f upstream.

When stacking devices, a request_queue is not always available. This
forced us to have a no_cluster flag in the queue_limits that could be
used as a carrier until the request_queue had been set up for a
metadevice.

There were several problems with that approach. First of all it was up
to the stacking device to remember to set queue flag after stacking had
completed. Also, the queue flag and the queue limits had to be kept in
sync at all times. We got that wrong, which could lead to us issuing
commands that went beyond the max scatterlist limit set by the driver.

The proper fix is to avoid having two flags for tracking the same thing.
We deprecate QUEUE_FLAG_CLUSTER and use the queue limit directly in the
block layer merging functions. The queue_limit 'no_cluster' is turned
into 'cluster' to avoid double negatives and to ease stacking.
Clustering defaults to being enabled as before. The queue flag logic is
removed from the stacking function, and explicitly setting the cluster
flag is no longer necessary in DM and MD.

Reported-by: Ed Lin <ed.lin@promise.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07 14:43:18 -08:00
Neil Brown
54cc1ed394 nfsd: Fix possible BUG_ON firing in set_change_info
commit c1ac3ffcd0 upstream.

If vfs_getattr in fill_post_wcc returns an error, we don't
set fh_post_change.
For NFSv4, this can result in set_change_info triggering a BUG_ON.
i.e. fh_post_saved being zero isn't really a bug.

So:
 - instead of BUGging when fh_post_saved is zero, just clear ->atomic.
 - if vfs_getattr fails in fill_post_wcc, take a copy of i_ctime anyway.
   This will be used i seg_change_info, but not overly trusted.
 - While we are there, remove the pointless 'if' statements in set_change_info.
   There is no harm setting all the values.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07 14:43:04 -08:00
hxy
33c55e5813 update yaffs2 nand according to raho project 2010-12-29 16:22:08 +08:00
kfx
31cfb36661 'hdmi can switch resolution automatically' and 'modify gpio_key(vol+ vol-) report event' 2010-12-29 12:33:30 +08:00
ddl
067c248f8d camera:add ov7675 driver, add ov5642 A3907 AF firmware, fix ov5642 AF may be fail 2010-12-27 14:53:55 +08:00
kfx
7475d042cb update hdmi driver 2010-12-24 10:12:35 +08:00
hxy
19b937babe add pwm voltage regulator 2010-12-21 16:53:47 +08:00
kfx
fbd7972e39 enable hdmi audio output 2010-12-20 20:47:31 +08:00
kfx
04f88ca2ad add hdmi driver 2010-12-20 14:58:15 +08:00
root
bd73d52914 Merge branch 'develop' of xjh@10.10.10.29:/home/rockchip/kernel into develop 2010-12-18 09:34:56 +08:00
root
9d886535b3 [xjh] gsensor with debug open 2010-12-17 16:23:55 +08:00
黄涛
6e2688ca84 Merge remote branch 'linux-2.6.32.y/master' into develop
Conflicts:
	drivers/i2c/busses/Kconfig
	drivers/net/dm9000.c
	drivers/net/wireless/libertas/if_sdio1.c
	drivers/usb/serial/option.c
	net/bluetooth/rfcomm/core.c
2010-12-16 20:54:24 +08:00
David S. Miller
f342cb14f5 net: Limit socket I/O iovec total length to INT_MAX.
commit 8acfe468b0 upstream.

This helps protect us from overflow issues down in the
individual protocol sendmsg/recvmsg handlers.  Once
we hit INT_MAX we truncate out the rest of the iovec
by setting the iov_len members to zero.

This works because:

1) For SOCK_STREAM and SOCK_SEQPACKET sockets, partial
   writes are allowed and the application will just continue
   with another write to send the rest of the data.

2) For datagram oriented sockets, where there must be a
   one-to-one correspondance between write() calls and
   packets on the wire, INT_MAX is going to be far larger
   than the packet size limit the protocol is going to
   check for and signal with -EMSGSIZE.

Based upon a patch by Linus Torvalds.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09 13:27:13 -08:00
Daniel Klaffenbach
0b5059be74 ssb: b43-pci-bridge: Add new vendor for BCM4318
commit 1d8638d403 upstream.

Add new vendor for Broadcom 4318.

Signed-off-by: Daniel Klaffenbach <danielklaffenbach@gmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09 13:26:41 -08:00