aboutsummaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2011-11-10SAUCE: mx53_loco: fix deadlock report from sdma_tx_submit() during bootHaitao Zhang
BugLink: http://bugs.launchpad.net/bugs/878701 Adjust to use spin_lock_irqsave()/spin_lock_irqresotre(), so to make it safe when called from interrupt context. Signed-off-by: Haitao Zhang <haitao.zhang@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-10ENGR00156996 ipuv3: fix pixel clock look up tableJason Chen
if there are two ipu, they will use same pixel look up table. which will confuse get_clk Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10ENGR00156673-3 ipuv3: move mach related definition to mach dirJason Chen
for driver files. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10ENGR00156374 ipuv3: check channel busy while wait disable irqJason Chen
there is chance channel already quit busy before wait disable irq in ipu_disable_channel, so add check during irq wait. this patch also comments f_calc and m_calc fix build warning. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10ENGR00156234 ipuv3: fix cpmem issueJason Chen
sometimes update to cpmem may not correct. make ipu_get_soc more robust. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10ENGR00155146 ipuv3: use mutex instead of spin lockJason Chen
keep spin lock for irq function, but use mutex replace other splin lock to provide better sync method. Add _ipu_get/put function to check clock enable. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10ipu3: Backport to freescale commitJason Chen
commit ad19aef4a80094221b1b826185aea924627e8642 ENGR00155140 ipuv3: add support of power suspend/resume add support of power suspend/resume. because IPU has issue of restore current buffer register, this code only work for single buffer mode. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10usb: make USB_GADGET_ARC tristateEric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-10ENGR00141732 SDMA: Fix bootup stop at sdma firmware loadingZeng Zhaoming
Linux 2.6.38 kernel bootup slow, it stopped at sdma firmware loading for about one minute. It is caused by firmware store on rootfs lib/firmware directory, while sdma initialization happens before rootfs mounted. To fix it, we have to build firmware in kernel image. Signed-off-by: Zeng Zhaoming <b32542@freescale.com> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-10mx53_loco: enabled USB Host1Haitao Zhang
forward ported code from 2.6.38 Signed-off-by: Haitao Zhang <haitao.zhang@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-10usb: convert arcotg_udc.c to the new udc infrastructureEric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-10usb: add gadget support for the USB device controllerEric Miao
Copied directly from linux-linaro-2.6.38, largely commit bb9ebb9a5: ENGR00141217-4 USB: Add USB Host/device/otg drivers support Signed-off-by: Zhang Yan <b34916@freescale.com> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-10usb: add ehci host driverEric Miao
Copied directly from linux-linaro-2.6.38, largely commit bb9ebb9a5: ENGR00141217-4 USB: Add USB Host/device/otg drivers support Signed-off-by: Zhang Yan <b34916@freescale.com> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-10amd-gpu: add driver codeRichard Zhao
Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
2011-11-10vpu: add driver for mxc vpuJason Chen
Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10v4l2: add v4l2 output support for mxcJason Chen
Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10ipuv3: add driver for LDB - LVDS Display BridgeJason Chen
Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10ipuv3: add driver for sii902x HDMI transceiverJason Chen
Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10ipuv3: add tve.c driver for TVOUT and VGA outputJason Chen
Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10ipuv3: add EDID utility functionsJason Chen
Simplify the EDID utility functions in mxc_edid.c from linux-imx-2.6.38. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10ipuv3: add framebuffer driverJason Chen
Base framebuffer driver directly copied from linux-imx-2.6.38 Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10ipuv3: add base driver for ipuv3Jason Chen
Base IPUv3 driver copied directly from linux-imx-2.6.38. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10fb: add PREMODE_CHANGE event support.Jason Chen
add PREMODE_CHANGE event to handle driver presetting before fb_set_par. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-10pmic: fix Shutdown issueYing-Chun Liu (PaulLiu)
Signed-Off: PaulLiu <paul.liu@linaro.org>
2011-11-10pmic: add backlight type to rawYing-Chun Liu (PaulLiu)
Signed-Off: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2011-11-10PMIC: Add Watchdog Driver for Dialog DA9052Ying-Chun Liu (PaulLiu)
Add DA9052 watchdog driver from Dialog. Modify Kconfig/Makefile for DA9052 watchdog driver. Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com> Acked-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2011-11-10PMIC: Add Video Backlight Driver for Dialog DA9052Ying-Chun Liu (PaulLiu)
Add DA9052 video backlight driver from Dialog. Modify Kconfig/Makefile for DA9052 video backlight driver. Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com> Acked-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2011-11-10PMIC: Add RTC Driver for Dialog DA9052Ying-Chun Liu (PaulLiu)
Add DA9052 rtc driver from Dialog. Modify Kconfig/Makefile for DA9052 rtc driver. Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com> Acked-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2011-11-10PMIC: Add REGULATOR Driver for Dialog DA9052Ying-Chun Liu (PaulLiu)
Add DA9052 regulator driver from Dialog. Modify Kconfig/Makefile for DA9052 regulator driver. Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com> Acked-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2011-11-10PMIC: Add BATTERY Driver for Dialog DA9052Ying-Chun Liu (PaulLiu)
Add DA9052 battery driver from Dialog. Modify Kconfig/Makefile for DA9052 battery driver. Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com> Acked-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2011-11-10PMIC: Add MFD Driver for Dialog DA9052Ying-Chun Liu (PaulLiu)
Add DA9052 mfd driver from Dialog. Modify Kconfig/Makefile for DA9052 mfd driver. Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com> Acked-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2011-11-10PMIC: Add TSI/misc input Driver for Dialog DA9052Ying-Chun Liu (PaulLiu)
Add DA9052 TSI/misc input driver from Dialog. Modify Kconfig/Makefile for DA9052 TSI/misc input driver. Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com> Acked-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2011-11-10PMIC: Add ADC Driver for Dialog DA9052Ying-Chun Liu (PaulLiu)
Add DA9052 ADC driver from Dialog. Modify Kconfig/Makefile for DA9052 ADC driver. Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com> Acked-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2011-11-10PMIC: Add LED Driver for Dialog DA9052Ying-Chun Liu (PaulLiu)
Add DA9052 led driver from Dialog. Modify Kconfig/Makefile for DA9052 led driver. Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com> Acked-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2011-11-10PMIC: Add GPIO Driver for Dialog DA9052Ying-Chun Liu (PaulLiu)
Add DA9052 gpio driver from Dialog. Modify Kconfig/Makefile for DA9052 gpio driver. Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com> Acked-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2011-11-10iim: add IIM driver supportEric Miao
Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-10fec: set FEC_MII_TIMEOUT to 50 msRichard Zhao
Some driver disable irq for long time, which often causes mdio timeout. Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
2011-11-10rtc: add freescale srtc driverRichard Zhao
Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
2011-11-10imx: add directory drivers/mxc for i.MX specific driversEric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (47 commits) forcedeth: fix a few sparse warnings (variable shadowing) forcedeth: Improve stats counters forcedeth: remove unneeded stats updates forcedeth: Acknowledge only interrupts that are being processed forcedeth: fix race when unloading module MAINTAINERS/rds: update maintainer wanrouter: Remove kernel_lock annotations usbnet: fix oops in usbnet_start_xmit ixgbe: Fix compile for kernel without CONFIG_PCI_IOV defined etherh: Add MAINTAINERS entry for etherh bonding: comparing a u8 with -1 is always false sky2: fix regression on Yukon Optima netlink: clarify attribute length check documentation netlink: validate NLA_MSECS length i825xx:xscale:8390:freescale: Fix Kconfig dependancies macvlan: receive multicast with local address tg3: Update version to 3.121 tg3: Eliminate timer race with reset_task tg3: Schedule at most one tg3_reset_task run tg3: Obtain PCI function number from device ...
2011-11-07forcedeth: fix a few sparse warnings (variable shadowing)david decotigny
This fixes the following sparse warnings: drivers/net/ethernet/nvidia/forcedeth.c:2113:7: warning: symbol 'size' shadows an earlier one drivers/net/ethernet/nvidia/forcedeth.c:2102:6: originally declared here drivers/net/ethernet/nvidia/forcedeth.c:2155:7: warning: symbol 'size' shadows an earlier one drivers/net/ethernet/nvidia/forcedeth.c:2102:6: originally declared here drivers/net/ethernet/nvidia/forcedeth.c:2227:7: warning: symbol 'size' shadows an earlier one drivers/net/ethernet/nvidia/forcedeth.c:2215:6: originally declared here drivers/net/ethernet/nvidia/forcedeth.c:2271:7: warning: symbol 'size' shadows an earlier one drivers/net/ethernet/nvidia/forcedeth.c:2215:6: originally declared here drivers/net/ethernet/nvidia/forcedeth.c:2986:20: warning: symbol 'addr' shadows an earlier one drivers/net/ethernet/nvidia/forcedeth.c:2963:6: originally declared here Signed-off-by: David Decotigny <david.decotigny@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-07forcedeth: Improve stats countersMandeep Baines
Rx byte count was off; instead use the hardware's count. Tx packet count was counting pre-TSO packets; instead count on-the-wire packets. Report hardware dropped frame count as rx_fifo_errors. - The count of transmitted packets reported by the forcedeth driver reports pre-TSO (TCP Segmentation Offload) packet counts and not the count of the number of packets sent on the wire. This change fixes the forcedeth driver to report the correct count. Fixed the code by copying the count stored in the NIC H/W to the value reported by the driver. - Count rx_drop_frame errors as rx_fifo_errors: We see a lot of rx_drop_frame errors if we disable the rx bottom-halves for too long. Normally, rx_fifo_errors would be counted in this case. The rx_drop_frame error count is private to forcedeth and is not reported by ifconfig or sysfs. The rx_fifo_errors count is currently unused in the forcedeth driver. It is reported by ifconfig as overruns. This change reports rx_drop_frame errors as rx_fifo_errors. Signed-off-by: David Decotigny <david.decotigny@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-07forcedeth: remove unneeded stats updatesdavid decotigny
Function ndo_get_stats() updates most of the stats from hardware registers, making the manual updates un-needed. This change removes these manual updates. Main exception is rx_missed_errors which needs manual update. Another exception is rx_packets, still updated manually in this commit to make sure this patch doesn't change behavior of driver. This will be addressed by a future patch. Signed-off-by: David Decotigny <david.decotigny@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-07forcedeth: Acknowledge only interrupts that are being processedMike Ditto
This is to avoid a race, accidentally acknowledging an interrupt that we didn't notice and won't immediately process. This is based solely on code inspection; it is not known if there was an actual bug here. Signed-off-by: David Decotigny <david.decotigny@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-07forcedeth: fix race when unloading moduledavid decotigny
When forcedeth module is unloaded, there exists a path that can lead to mod_timer() after del_timer_sync(), causing an oops. This patch short-circuits this unneeded path, which originates in nv_get_ethtool_stats(). Tested: x86_64 16-way + 3 ethtool -S infinite loops + 100Mbps incoming traffic + rmmod/modprobe/ifconfig in a loop Initial-Author: Salman Qazi <sqazi@google.com> Discussion: http://patchwork.ozlabs.org/patch/123548/ Signed-off-by: David Decotigny <david.decotigny@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-07device-mapper: using EXPORT_SYBOL in dm-space-map-checker.c needs export.hStephen Rothwell
Reported-by: Witold Baryluk <baryluk@smp.if.uj.edu.pl> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-11-07device-mapper: dm-bufio.c needs to include module.hStephen Rothwell
since it uses the module facilities. Reported-by: Witold Baryluk <baryluk@smp.if.uj.edu.pl> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-11-07drivers/md: change module.h -> export.h in persistent-data/dm-*Paul Gortmaker
For the files which are not themselves modular, we can change them to include only the smaller export.h since all they are doing is looking for EXPORT_SYMBOL. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-11-07usbnet: fix oops in usbnet_start_xmitKonstantin Khlebnikov
This patch fixes the bug added in commit v3.1-rc7-1055-gf9b491e SKB can be NULL at this point, at least for cdc-ncm. Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-07ixgbe: Fix compile for kernel without CONFIG_PCI_IOV definedRose, Gregory V
Fix compiler errors and warnings with CONFIG_PCI_IOV defined and not defined. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>