]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge 3.16-rc2 into staging-next
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Jun 2014 16:33:51 +0000 (12:33 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Jun 2014 16:33:51 +0000 (12:33 -0400)
We want the staging fixes here as well.

1  2 
MAINTAINERS
drivers/iio/adc/at91_adc.c
drivers/staging/comedi/Kconfig
drivers/staging/iio/adc/mxs-lradc.c

diff --combined MAINTAINERS
index 7c291d13182c2ecced2d52e2d1bfbbc3beb4507a,3f2e171047b90e8a3f396a9c1266a3d5f6c220a2..1a3564dddcb77781b98952da8a0ec8d5906fdc96
@@@ -6960,7 -6960,7 +6960,7 @@@ PKUNITY SOC DRIVER
  M:    Guan Xuetao <gxt@mprc.pku.edu.cn>
  W:    http://mprc.pku.edu.cn/~guanxuetao/linux
  S:    Maintained
- T:    git git://git.kernel.org/pub/scm/linux/kernel/git/epip/linux-2.6-unicore32.git
+ T:    git git://github.com/gxt/linux.git
  F:    drivers/input/serio/i8042-unicore32io.h
  F:    drivers/i2c/busses/i2c-puv3.c
  F:    drivers/video/fb-puv3.c
@@@ -7948,6 -7948,7 +7948,7 @@@ F:      drivers/mmc/host/sdhci-spear.
  
  SECURITY SUBSYSTEM
  M:    James Morris <james.l.morris@oracle.com>
+ M:    Serge E. Hallyn <serge@hallyn.com>
  L:    linux-security-module@vger.kernel.org (suggested Cc:)
  T:    git git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git
  W:    http://kernsec.org/
@@@ -8512,6 -8513,14 +8513,6 @@@ M:     H Hartley Sweeten <hsweeten@visionen
  S:    Odd Fixes
  F:    drivers/staging/comedi/
  
 -STAGING - CRYSTAL HD VIDEO DECODER
 -M:    Naren Sankar <nsankar@broadcom.com>
 -M:    Jarod Wilson <jarod@wilsonet.com>
 -M:    Scott Davilla <davilla@4pi.com>
 -M:    Manu Abraham <abraham.manu@gmail.com>
 -S:    Odd Fixes
 -F:    drivers/staging/crystalhd/
 -
  STAGING - ECHO CANCELLER
  M:    Steve Underwood <steveu@coppice.org>
  M:    David Rowe <david@rowetel.com>
@@@ -9268,7 -9277,7 +9269,7 @@@ UNICORE32 ARCHITECTURE
  M:    Guan Xuetao <gxt@mprc.pku.edu.cn>
  W:    http://mprc.pku.edu.cn/~guanxuetao/linux
  S:    Maintained
- T:    git git://git.kernel.org/pub/scm/linux/kernel/git/epip/linux-2.6-unicore32.git
+ T:    git git://github.com/gxt/linux.git
  F:    arch/unicore32/
  
  UNIFDEF
@@@ -9735,6 -9744,14 +9736,14 @@@ L:    virtualization@lists.linux-foundatio
  S:    Supported
  F:    arch/x86/kernel/cpu/vmware.c
  
+ VMWARE BALLOON DRIVER
+ M:    Xavier Deguillard <xdeguillard@vmware.com>
+ M:    Philip Moltmann <moltmann@vmware.com>
+ M:    "VMware, Inc." <pv-drivers@vmware.com>
+ L:    linux-kernel@vger.kernel.org
+ S:    Maintained
+ F:    drivers/misc/vmw_balloon.c
  VMWARE VMXNET3 ETHERNET DRIVER
  M:    Shreyas Bhatewara <sbhatewara@vmware.com>
  M:    "VMware, Inc." <pv-drivers@vmware.com>
index 8a5e67c4ced1e42919791c0db11fc51b4529d1a1,2b6a9ce9927c5fb84d7b92b3d6b3fc067ad7ec75..772e869c280ed2c7a275ba3516fa66b997d00379
@@@ -272,7 -272,7 +272,7 @@@ void handle_adc_eoc_trigger(int irq, st
  
        if (iio_buffer_enabled(idev)) {
                disable_irq_nosync(irq);
 -              iio_trigger_poll(idev->trig, iio_get_time_ns());
 +              iio_trigger_poll(idev->trig);
        } else {
                st->last_value = at91_adc_readl(st, AT91_ADC_LCDR);
                st->done = true;
@@@ -510,12 -510,11 +510,11 @@@ static int at91_adc_channel_init(struc
        return idev->num_channels;
  }
  
- static u8 at91_adc_get_trigger_value_by_name(struct iio_dev *idev,
+ static int at91_adc_get_trigger_value_by_name(struct iio_dev *idev,
                                             struct at91_adc_trigger *triggers,
                                             const char *trigger_name)
  {
        struct at91_adc_state *st = iio_priv(idev);
-       u8 value = 0;
        int i;
  
        for (i = 0; i < st->trigger_number; i++) {
                        return -ENOMEM;
  
                if (strcmp(trigger_name, name) == 0) {
-                       value = triggers[i].value;
                        kfree(name);
-                       break;
+                       if (triggers[i].value == 0)
+                               return -EINVAL;
+                       return triggers[i].value;
                }
  
                kfree(name);
        }
  
-       return value;
+       return -EINVAL;
  }
  
  static int at91_adc_configure_trigger(struct iio_trigger *trig, bool state)
        struct iio_buffer *buffer = idev->buffer;
        struct at91_adc_reg_desc *reg = st->registers;
        u32 status = at91_adc_readl(st, reg->trigger_register);
-       u8 value;
+       int value;
        u8 bit;
  
        value = at91_adc_get_trigger_value_by_name(idev,
                                                   st->trigger_list,
                                                   idev->trig->name);
-       if (value == 0)
-               return -EINVAL;
+       if (value < 0)
+               return value;
  
        if (state) {
                st->buffer = kmalloc(idev->scan_bytes, GFP_KERNEL);
index 3a07f0b9afd5868056a21c88e3623126768ff127,a2f6957e7ee96c0e985eafb55cb363e5aa80fcef..8d992a87d3c48d37bc12960a688ec0c7a8350613
@@@ -135,14 -135,13 +135,14 @@@ config COMEDI_PCL72
          support driver.
  
          Supported boards include:
 -          Advantech PCL-724    24 channels
 -          Advantech PCL-722    144 (or 96) channels
 -          Advantech PCL-731    48 channels
 -          ADlink ACL-7122      144 (or 96) channels
 -          ADlink ACL-7124      24 channels
 -          ADlink PET-48DIO     48 channels
 -          WinSystems PCM-IO48  48 channels (PC/104)
 +          Advantech PCL-724            24 channels
 +          Advantech PCL-722            144 (or 96) channels
 +          Advantech PCL-731            48 channels
 +          ADlink ACL-7122              144 (or 96) channels
 +          ADlink ACL-7124              24 channels
 +          ADlink PET-48DIO             48 channels
 +          WinSystems PCM-IO48          48 channels (PC/104)
 +          Diamond Systems ONYX-MM-DIO  48 channels (PC/104)
  
          To compile this driver as a module, choose M here: the module will be
          called pcl724.
@@@ -173,7 -172,6 +173,7 @@@ config COMEDI_PCL73
          Advantech PCL-734             iso - 32 out
          Diamond Systems OPMM-1616-XT  iso - 16 in/16 out
          Diamond Systems PEARL-MM-P    iso - 16 out
 +        Diamond Systems IR104-PBF     iso - 20 in/20 out
  
          To compile this driver as a module, choose M here: the module will be
          called pcl730.
@@@ -653,6 -651,7 +653,7 @@@ config COMEDI_ADDI_APCI_151
  
  config COMEDI_ADDI_APCI_1564
        tristate "ADDI-DATA APCI_1564 support"
+       select COMEDI_ADDI_WATCHDOG
        ---help---
          Enable support for ADDI-DATA APCI_1564 cards
  
index d8619993c6ffbaba1feceb46a0d2381fd76e36de,52d7517b342eb80191fc18cf1dab01d4faf477cf..468327f4a7533590f1ffed2ffa2f73bd7870592f
@@@ -846,6 -846,14 +846,14 @@@ static int mxs_lradc_read_single(struc
                        LRADC_CTRL1);
        mxs_lradc_reg_clear(lradc, 0xff, LRADC_CTRL0);
  
+       /* Enable / disable the divider per requirement */
+       if (test_bit(chan, &lradc->is_divided))
+               mxs_lradc_reg_set(lradc, 1 << LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET,
+                       LRADC_CTRL2);
+       else
+               mxs_lradc_reg_clear(lradc,
+                       1 << LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET, LRADC_CTRL2);
        /* Clean the slot's previous content, then set new one. */
        mxs_lradc_reg_clear(lradc, LRADC_CTRL4_LRADCSELECT_MASK(0),
                        LRADC_CTRL4);
@@@ -961,15 -969,11 +969,11 @@@ static int mxs_lradc_write_raw(struct i
                if (val == scale_avail[MXS_LRADC_DIV_DISABLED].integer &&
                    val2 == scale_avail[MXS_LRADC_DIV_DISABLED].nano) {
                        /* divider by two disabled */
-                       writel(1 << LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET,
-                              lradc->base + LRADC_CTRL2 + STMP_OFFSET_REG_CLR);
                        clear_bit(chan->channel, &lradc->is_divided);
                        ret = 0;
                } else if (val == scale_avail[MXS_LRADC_DIV_ENABLED].integer &&
                           val2 == scale_avail[MXS_LRADC_DIV_ENABLED].nano) {
                        /* divider by two enabled */
-                       writel(1 << LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET,
-                              lradc->base + LRADC_CTRL2 + STMP_OFFSET_REG_SET);
                        set_bit(chan->channel, &lradc->is_divided);
                        ret = 0;
                }
@@@ -1166,7 -1170,7 +1170,7 @@@ static irqreturn_t mxs_lradc_handle_irq
                mxs_lradc_handle_touch(lradc);
  
        if (iio_buffer_enabled(iio))
 -              iio_trigger_poll(iio->trig, iio_get_time_ns());
 +              iio_trigger_poll(iio->trig);
        else if (reg & LRADC_CTRL1_LRADC_IRQ(0))
                complete(&lradc->completion);