Commit Graph

159199 Commits

Author SHA1 Message Date
Shan Wei
25672dfd6f Staging: usb-ip: vhci_hdc:Fix the returned error value
Compared with other drivers, the "ret" should be nagative and
returned. But in vhci_hdc, it always return 0;

I dont't use the driver, and I'm not familiar with the code.
Hope the patch is helpful.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-18 14:17:12 -06:00
Brian G. Merrell
e2db8f3dcc Staging: USB-IP code cleanup
This includes fixes for all of the legit checkpatch.pl errors and
warnings.  I have also included several of the suggestions from the
linux-kernel mailing list when the USB-IP code was first added.

Signed-off-by: Brian G. Merrell <bgmerrell@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-18 14:14:52 -06:00
Matt Sealey
c17a83f9ae add and register mxc_v4l2out_device 2010-12-18 02:27:11 -06:00
Matt Sealey
f6ecf7665b drag mxc_v4l2_output video overlay code into the modern world (BSP 10.11.01)
drag mxc_ipuv3_fb with it (remove final efikamx specific stuff)
update some IPU stuff and ioctls for it all to interoperate

notes:
	that line_length bug is still there, I really can't find why it's 0...
	doesn't register because the platform_device isn't in a/a/p-mxc/devices.?
2010-12-18 01:09:45 -06:00
Matt Sealey
f63b8eb795 Bring IPU up to latest BSP, including these fixes:
ENGR00133954 ipuv3: remove FB_SYNC_EXT flag
ENGR00133034 ipuv3: fix black flash issue during high resolution video playback
ENGR00134076 ipuv3: should not set burst size again
ENGR00133345 IPUv3 VDI:Support bottom field first setting
ENGR00131660 ipuv3: left stripe output column should be set to zero

This actually fixes the clock sync problem with the AOC HDMI monitor we have (perfectly
working display but "input not support" floating around). Happily, the boot splash
actually works, too (previously it would not work until the second set of the display
when GDM booted). Hopefully IPU support is nice and stable now.
2010-12-14 00:45:28 -06:00
Matt Sealey
a9d97e6ab7 sgtl5000: correct audio clock pin to schematics (the Pegatron, the) 2010-12-14 00:27:14 -06:00
Matt Sealey
9a19eebf87 sgtl5000: audio clock gating platform support to fit ENGR00132525 2010-12-14 00:18:53 -06:00
Matt Sealey
5e83174b31 sgtl5000: drag to latest BSP
includes patches:
ENGR00132153 sgtl5000: do not enforce symmetry if rate is unknown
ENGR00132525 sgtl5000: audio clock gating
ENGR00132580 allow prediv by 1 for ext1 clk

(audio clock gating on Efika will be patched in later)
2010-12-14 00:09:06 -06:00
Matt Sealey
0d6f4ec27f sdma script code: remove unused file 2010-12-13 15:06:49 -06:00
Zeng Zhaoming
4d8879d67e ENGR00131932 upgrade SDMA scripts to 1.1, dual SSI FIFO support 2010-12-13 15:05:29 -06:00
Sammy He
bbaaecc647 ENGR00132971 Workaround for imx5x M4IF burst len errata for armv7 neon
Workaround for imx5x M4IF burst len errata when armv7 neon enabled, use
pgprot_writecombine instead of pgprot_noncached, to avoid burst len > 8.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-12-13 14:01:20 -06:00
Zhang Jiejing
850d7f76ce ENGR00133590 UART: let user control HW flow control
HW flow control should be enable/disable by userspace.
It can be set by tty option: options.c_cflag of  CRTSCTS
bit.

This bug is found by testing UART BT AR3001 chip,
this chip will wake up the chip by set RTS to high,
it needs frist disable HW flow control, set RTS,
then disable HW flow control.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2010-12-13 13:58:29 -06:00
Matt Sealey
713fef6d75 Match this patch from Freescale:
ENGR00133429 MX51 DVFS_PER: Set LP voltage to 1.25 V

MX51 DVFS_PER: Set high setpoint and low setpoint of LP voltage
from 1.2 V to 1.25 V.

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-12-13 12:29:08 -06:00
Matt Sealey
6942fd4666 ENGR00133681 VPU:Fix kernel dump when VPU doesn't use IRAM
If VPU doesn't use IRAM, there will be a kernel dump when
we enter VPU driver probe function.
This issue is caused by allocating IRAM with zero buffer
size.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-12-13 12:14:16 -06:00
Matt Sealey
4e26dd501f ENGR00133737 MXC SDMA: fix system hangs when play audio with irq threaded
When apply rt patch or turn on hardirq threaded in kernel,
play audio by application with realtime schedule policy hangs the system.

It is caused by:
Requesting SDMA channel, a specific channel is used to load script
and context from memory.

This load phase also uses sdma to transfer, then poll
a complete flag within a while(1) loop.

When application with realtime schedule policy request sdma channel,
it will preempt threaded irqs and prevent complete flag to be set.

So a deadlock appears.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
2010-12-13 12:11:51 -06:00
Matt Sealey
9fb3a4d079 ENGR00132543 v4l2 output: fill black in streamoff
Fill black data in streamoff, otherwise the last frame will keep in fb.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-12-13 09:57:03 -06:00
Matt Sealey
6f660227c7 siihdmi: add hdmi hotplug event handler (only registers the event, doesn't do anything yet) 2010-12-13 09:11:52 -06:00
Matt Sealey
9f8576bec1 experimental: more generic sii hdmi driver 2010-12-11 15:46:40 -06:00
Matt Sealey
2e18703dbc mx: remove mxcfb_dump_modelines as the sii driver includes it. 2010-12-11 15:31:44 -06:00
Matt Sealey
5138388813 Enable section mismatch debug as it's very useful 2010-12-11 15:31:20 -06:00
Matt Sealey
20c4fd7f16 enable unionfs: add Makefile, Kconfig and updated defconfigs to include it 2010-12-11 15:30:44 -06:00
Matt Sealey
2eb3e70d29 Merge branch 'efikasb-10.08.00' of gitorious.org:efikamx/linux-kernel into efikasb-10.08.00 2010-12-11 15:29:30 -06:00
Saleem Abdulrasool
23ef239303 remove unnecessary magic number usage 2010-12-09 22:02:39 -08:00
Matt Sealey
79dbe9115f fs: unionfs 2.5.7 for linux 2.6.31.14 2010-12-07 07:10:30 -06:00
Matt Sealey
3c9222317e bump to .13 finally 2010-12-07 06:34:09 -06:00
Matt Sealey
288a3a32bd sii9022: rename notifier block structure item from "fb" to "nb" 2010-12-07 06:33:41 -06:00
Matt Sealey
0c1bc3ce16 configs: add ecryptfs, configfs, security key retention.
also pulls in requirements for udlfb framebuffer operations
2010-12-07 06:32:36 -06:00
Matt Sealey
b761b6b198 dev_get_platdata is static 2010-12-06 00:32:03 -06:00
Matt Sealey
7d5a6b6789 spi platform data: fix spi platform device to name the mx51 unit and not send the driver into autodetect (which cannot autodetect an mx51!?) 2010-12-06 00:21:00 -06:00
Matt Sealey
c282fb0194 spi_imx: clock hack 2010-12-06 00:20:38 -06:00
Matt Sealey
b3a91a785b spi_imx: add dev_get_platdata from more recent kernels 2010-12-06 00:09:27 -06:00
Matt Sealey
a97241ee34 mc13892: remove "connectivity" option as it only applies to USB chargers etc. 2010-12-06 00:04:36 -06:00
Matt Sealey
9430ce486b framebuffer: Remove pixel clock setting hack 2010-12-05 20:09:24 -06:00
Matt Sealey
27c3096d91 sii9022: Add a tiny delay to the setup and mode change in the hope we avoid IPU_INT_STAT errors 2010-12-05 20:06:52 -06:00
Jason Chen
d74111ac5b ENGR00127358 ipuv3: make display data signal negative during blanking period
make display data signal negative during blanking period.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-12-03 10:42:46 -06:00
Jason Chen
1b4a64e634 ENGR00127332 ipuv3: change the disalbe dp-dc timming
disable dp-dc in the display flow end irq handler, otherwise,
ipu may get NFB4EOF error for next fb enabling under big resolution(like 1080p).

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-12-03 10:42:15 -06:00
Matt Sealey
816d9d06f2 Remove custom clock setting code as FSL fixed that bug in 10.09.00 2010-12-03 10:41:13 -06:00
Matt Sealey
ab43cba331 mxc_spi: remove rather spurious 0 write to control register which gets overwritten in the next line 2010-12-03 09:40:08 -06:00
Matt Sealey
eff536cdc3 section mismatches fixed:
* sanitize modelist used preferred_mode which was __initdata and shouldn't have been
* init_wdog only runs once and accesses __initdata, so it's been made __init
2010-12-03 08:17:17 -06:00
Matt Sealey
335dac8153 shorten structure name, and mark some things as __init so they go away after init 2010-12-03 08:08:35 -06:00
Matt Sealey
ad6e4186a0 register SPI devices before registering SPI master as is traditional 2010-12-03 08:08:03 -06:00
Roel Kluin
4e41073ea1 mtd: mtdpart: prevent a read from regions[-1]
If the erase region was found in the first iteration we read from
regions[-1]

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:52:26 -06:00
David Jander
e90355ef19 mtd: m25p80.c: Add support for S25FL032P spi-nor flash devices.
Signed-off-by: David Jander <david@protonic.nl>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:43:12 -06:00
Thierry Reding
b73e76642f mtd: m25p80: Add support for the Winbond W25Q64
This patch adds support for the Winbond W25Q64 serial flash.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:42:53 -06:00
Gernot Hoyler
84b419195c mtd: m25p80: Add support for two new Spansion SPI devices (S25FL-K)
This patch adds support for Spansion S25FL016K and S25FL064K SPI flash.
It has been tested with physical devices. Note that both parts exhibit
a Winbond manufacturer ID so they might also be added to that section.

Signed-off-by: Gernot Hoyler <Gernot.Hoyler@spansion.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:42:35 -06:00
Dan Carpenter
b3c3af1ac7 mtd/m25p80: fix test for end of loop
"plat_id" is always non-NULL here.  There is a zero element on the end
of the m25p_ids[] array and if we hit the end of the loop then plat_id
points to that.

This would lead to a NULL pointer dereference later on in the function.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:42:24 -06:00
Gabor Juhos
7700a6dda6 mtd: m25p80: add support for the Winbond W25Q32 SPI flash chip
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2010-12-03 07:41:22 -06:00
Gabor Juhos
7feb107bea mtd: m25p80: add support for the Intel/Numonyx {16,32,64}0S33B SPI flash chips
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:40:58 -06:00
Gabor Juhos
576cc79d2c mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:40:40 -06:00
Anton Vorontsov
c65568fb65 mtd: m25p80: Make jedec_probe() return proper errno values
spi_write_then_read() may return its own return codes (e.g. -EIO),
so let's propagate the value down to the probe().

Also, remove jedec == 0 check, it isn't needed as nowadays we use
dedicated SPI device IDs for non-JEDEC flashes.

Suggested-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:40:21 -06:00