[PATCH] mmc/core: free mmc_card when cmd 3, 9, 7 got failed in mmc_sd_init_card

2013-07-16 Thread wei_wang
From: Wei WANG In function mmc_sd_init_card, if command 3/9/7 got failed, mmc_card allocated just before won't be freed. This would cause memory leak. Signed-off-by: Wei WANG --- drivers/mmc/core/sd.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/core

Re: [PATCH net] hyperv: Fix the NETIF_F_SG flag setting in netvsc

2013-07-16 Thread David Miller
From: Haiyang Zhang Date: Tue, 16 Jul 2013 23:01:20 -0700 > SG mode is not currently supported by netvsc, so remove this flag for now. > Otherwise, it will be unconditionally enabled by commit ec5f0615642 > "Kill link between CSUM and SG features" > Previously, the SG feature is disabled beca

[PATCH net] hyperv: Fix the NETIF_F_SG flag setting in netvsc

2013-07-16 Thread Haiyang Zhang
SG mode is not currently supported by netvsc, so remove this flag for now. Otherwise, it will be unconditionally enabled by commit ec5f0615642 "Kill link between CSUM and SG features" Previously, the SG feature is disabled because CSUM is not set here. Signed-off-by: Haiyang Zhang Reviewed-by

[PATCH] mmc:host: Remove a duplicate line in Makefile

2013-07-16 Thread wei_wang
From: Wei WANG Signed-off-by: Wei WANG --- drivers/mmc/host/Makefile |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile index d422e21..c41d0c3 100644 --- a/drivers/mmc/host/Makefile +++ b/drivers/mmc/host/Makefile @@ -52,8 +52,6 @@ obj-

[PATCH] staging: dwc2: add driver parameter to set AHB config register value

2013-07-16 Thread Paul Zimmerman
The dwc2 driver sets the value of the DWC2 GAHBCFG register to 0x6, which is GAHBCFG_HBSTLEN_INCR4. But different platforms may require different values. In particular, the Broadcom 2835 SOC used in the Raspberry Pi needs a value of 0x10, otherwise the DWC2 controller stops working after a short pe

[PATCH 1/4] pci_ids.h: move PCI_VENDOR_ID_AMCC here

2013-07-16 Thread Ian Abbott
PCI_VENDOR_ID_AMCC is defined locally in "drivers/staging/comedi/comedidev.h" for a few comedi hardware drivers, namely "adl_pci9118", "addi_apci_1500" and "addi_apci_3120" (also "addi_apci_1710" but that is not currently built and will probably be removed soon). Move the define into "include/linu

[PATCH 0/4] pci_ids, 8250_pci: remove PCI_VENDOR_ID_ADDIDATA_OLD

2013-07-16 Thread Ian Abbott
The 8250_pci driver uses PCI_VENDOR_ID_ADDIDATA_OLD (0x10e8), PCI_DEVICE_ID_ADDIDATA_APCI7800 (0x818e) to recognize the original ADDI-DATA APCI-7800 PCI serial card. However vendor ID 0x10e8 was assigned by PCI-SIG to Applied Micro Circuits Corporation (AMCC) and the associated device ID 0x818e wa

[PATCH 3/4] serial: 8250_pci: use local device ID for ADDI-DATA APCI-7800

2013-07-16 Thread Ian Abbott
The quirks and PCI ID table entries for the original ADDI-DATA APCI-7800 (not the newer APCI-7800-3) use PCI_DEVICE_ID_ADDIDATA_APCI7800 from but the device ID was actually assigned to ADDI-DATA by Applied Micro Circuits Corporation (PCI_VENDOR_ID_AMCC). Replace it locally with #define PCI_DEVICE

[PATCH 4/4] pci_ids.h: remove PCI_VENDOR_ID_ADDIDATA_OLD and PCI_DEVICE_ID_ADDIDATA_APCI7800

2013-07-16 Thread Ian Abbott
These two defines are no longer used. They were only used by the PCI serial driver "8250_pci" to support the original ADDI-DATA APCI-7800 card. In that driver, PCI_VENDOR_ID_ADDIDATA_OLD has been replaced with PCI_VENDOR_ID_AMCC which has the same value (0x10e8), and PCI_DEVICE_ID_ADDIDATA_APCI78

[PATCH 2/4] serial: 8250_pci: replace PCI_VENDOR_ID_ADDIDATA_OLD

2013-07-16 Thread Ian Abbott
PCI_VENDOR_ID_ADDIDATA_OLD has the same value (0x10e8) as PCI_VENDOR_ID_AMCC in . The vender ID is actually assigned to Applied Micro Circuits Corporation. The 8250_pci driver uses PCI_VENDOR_ID_ADDIDATA_OLD in the lists of quirks and PCI IDs for the ADDI-DATA APCI-7800 card. Change it to use th