1. 16 8月, 2016 1 次提交
  2. 16 4月, 2016 1 次提交
  3. 22 11月, 2015 1 次提交
  4. 19 7月, 2015 1 次提交
  5. 21 6月, 2015 1 次提交
  6. 08 3月, 2015 1 次提交
  7. 15 9月, 2014 1 次提交
  8. 30 8月, 2014 1 次提交
  9. 14 6月, 2014 2 次提交
  10. 08 5月, 2014 4 次提交
  11. 16 3月, 2014 1 次提交
  12. 07 3月, 2014 1 次提交
    • A
      iio: adc: at91_adc: Repair broken platform_data support · 467a44b0
      Alexandre Belloni 提交于
      Trying to use the at91_adc driver while not using device tree is ending up in a
      kernel crash:
      
      Unable to handle kernel NULL pointer dereference at virtual address 00000004
      [...]
      [<c01f3510>] (at91_adc_probe) from [<c0183828>] (platform_drv_probe+0x18/0x48)
      [<c0183828>] (platform_drv_probe) from [<c01824a4>] (driver_probe_device+0x100/0x218)
      [<c01824a4>] (driver_probe_device) from [<c0182648>] (__driver_attach+0x8c/0x90)
      [<c0182648>] (__driver_attach) from [<c0180de4>] (bus_for_each_dev+0x58/0x88)
      [<c0180de4>] (bus_for_each_dev) from [<c0181c7c>] (bus_add_driver+0xd4/0x1d4)
      [<c0181c7c>] (bus_add_driver) from [<c0182c40>] (driver_register+0x78/0xf4)
      [<c0182c40>] (driver_register) from [<c0008998>] (do_one_initcall+0xe8/0x14c)
      [<c0008998>] (do_one_initcall) from [<c02f0b50>] (kernel_init_freeable+0xec/0x1b4)
      [<c02f0b50>] (kernel_init_freeable) from [<c022acdc>] (kernel_init+0x8/0xe4)
      [<c022acdc>] (kernel_init) from [<c0009670>] (ret_from_fork+0x14/0x24)
      
      This is because the at91_adc_caps structure is mandatory but is not filled when
      using platform_data. Correct that by using an id_table. It ensues that the
      driver will not match "at91_adc" anymore but it was crashing anyway.
      
      Fixes: c4601666 (iio: at91: ADC start-up time calculation changed since at91sam9x5)
      Cc: stable@vger.kernel.org # v3.13+
      Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
      Tested-by: NJosh Wu <josh.wu@atmel.com>
      Acked-by: NJosh Wu <josh.wu@atmel.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      467a44b0
  13. 02 11月, 2013 1 次提交
  14. 18 10月, 2013 1 次提交
    • J
      iio: at91: introduce touch screen support in iio adc driver · c8b11de0
      Josh Wu 提交于
      AT91 ADC hardware integrate touch screen support. So this patch add touch
      screen support for at91 adc iio driver.
      To enable touch screen support in adc, you need to add the dt parameters:
        1. which type of touch are used? (4 or 5 wires), sample period time.
        2. correct pressure detect threshold value.
      
      In the meantime, since touch screen will use a interal period trigger of adc,
      so it is conflict to other hardware triggers. Driver will disable the hardware
      trigger support if touch screen is enabled.
      
      This driver has been tested in AT91SAM9X5-EK and SAMA5D3x-EK.
      Signed-off-by: NJosh Wu <josh.wu@atmel.com>
      Acked-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      CC: devicetree@vger.kernel.org
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      c8b11de0
  15. 10 10月, 2013 2 次提交
  16. 01 10月, 2013 1 次提交
  17. 22 9月, 2013 1 次提交
  18. 21 9月, 2013 1 次提交
  19. 19 9月, 2013 1 次提交
  20. 16 9月, 2013 1 次提交
  21. 30 8月, 2013 2 次提交
  22. 04 8月, 2013 1 次提交
  23. 05 6月, 2013 1 次提交
  24. 03 4月, 2013 3 次提交
  25. 26 3月, 2013 1 次提交
    • L
      iio:trigger: Introduce iio_tigger_{set,get}_drvdata · 1e9663c6
      Lars-Peter Clausen 提交于
      Introduce iio_tigger_{set,get}_drvdata which allows to attach driver specific
      data to a trigger. The functions wrap access to the triggers private_data field
      and all current users are updated to use iio_tigger_{set,get}_drvdata instead of
      directly accessing the private_data field. This is the first step towards
      removing the private_data field from the iio_trigger struct.
      
      The following coccinelle script has been used to update the drivers:
      <smpl>
      @@
      struct iio_trigger *trigger;
      expression priv;
      @@
      -trigger->private_data = priv
      +iio_trigger_set_drv_data(trigger, priv)
      
      @@
      struct iio_trigger *trigger;
      @@
      -trigger->private_data
      +iio_trigger_get_drv_data(trigger)
      </smpl>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      1e9663c6
  26. 18 3月, 2013 1 次提交
  27. 23 1月, 2013 1 次提交
  28. 04 1月, 2013 1 次提交
    • G
      Drivers: iio: remove __dev* attributes. · fc52692c
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, and __devexit
      from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Jonathan Cameron <jic23@cam.ac.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      fc52692c
  29. 27 12月, 2012 1 次提交
  30. 10 11月, 2012 1 次提交
  31. 31 10月, 2012 1 次提交
  32. 20 10月, 2012 1 次提交