1. 24 11月, 2012 4 次提交
  2. 23 11月, 2012 1 次提交
  3. 22 11月, 2012 1 次提交
  4. 10 11月, 2012 2 次提交
  5. 31 10月, 2012 1 次提交
  6. 25 10月, 2012 1 次提交
    • H
      Input: egalax_ts - get gpio from devicetree · ae495e84
      Hui Wang 提交于
      The irq_to_gpio() is old, most platforms use GENERIC_GPIO framework
      and don't support this API anymore.
      
      The i.MX6q sabrelite platform equips an egalax touchscreen controller,
      and this platform already transfered to GENERIC_GPIO framework, to
      support this driver, we use a more generic way to get gpio.
      
      Add a return value checking for waking up the controller in the probe
      function, this guarantee only a workable device can pass init.
      
      [dmitry.torokhov@gmail.com: Make driver depend on CONFIG_OF as it is
       now required.]
      
      Acked-by Zhang Jiejing <jiejing.zhang@freescale.com>
      Reviewed-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NHui Wang <jason77.wang@gmail.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      ae495e84
  7. 18 10月, 2012 1 次提交
  8. 11 10月, 2012 4 次提交
  9. 05 10月, 2012 1 次提交
  10. 02 10月, 2012 2 次提交
  11. 20 9月, 2012 2 次提交
  12. 19 9月, 2012 1 次提交
    • A
      ARM: samsung: move platform_data definitions · 436d42c6
      Arnd Bergmann 提交于
      Platform data for device drivers should be defined in
      include/linux/platform_data/*.h, not in the architecture
      and platform specific directories.
      
      This moves such data out of the samsung include directories
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Acked-by: NNicolas Pitre <nico@linaro.org>
      Acked-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Cc: Guenter Roeck <linux@roeck-us.net>
      Cc: "Wolfram Sang (embedded platforms)" <w.sang@pengutronix.de>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Bryan Wu <bryan.wu@canonical.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Sangbeom Kim <sbkim73@samsung.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Cc: linux-samsung-soc@vger.kernel.org
      436d42c6
  13. 05 9月, 2012 1 次提交
    • F
      Input: usbtouchscreen - initialize eGalax devices · 037a833e
      Forest Bond 提交于
      Certain eGalax devices expose an interface with class HID and protocol
      None.  Some work with usbhid and some work with usbtouchscreen, but
      there is no easy way to differentiate.  Sending an eGalax diagnostic
      packet seems to kick them all into using the right protocol for
      usbtouchscreen, so we can continue to bind them all there (as opposed to
      handing some off to usbhid).
      
      This fixes a regression for devices that were claimed by (and worked
      with) usbhid prior to commit 139ebe8d
      ("Input: usbtouchscreen - fix eGalax HID ignoring"), which made
      usbtouchscreen claim them instead.  With this patch they will still be
      claimed by usbtouchscreen, but they will actually report events
      usbtouchscreen can understand.  Note that these devices will be limited
      to the usbtouchscreen feature set so e.g. dual touch features are not
      supported.
      
      I have the distinct pleasure of needing to support devices of both types
      and have tested accordingly.
      Signed-off-by: NForest Bond <forest.bond@rapidrollout.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      037a833e
  14. 01 9月, 2012 1 次提交
  15. 22 8月, 2012 1 次提交
  16. 21 8月, 2012 1 次提交
    • T
      workqueue: deprecate flush[_delayed]_work_sync() · 43829731
      Tejun Heo 提交于
      flush[_delayed]_work_sync() are now spurious.  Mark them deprecated
      and convert all users to flush[_delayed]_work().
      
      If you're cc'd and wondering what's going on: Now all workqueues are
      non-reentrant and the regular flushes guarantee that the work item is
      not pending or running on any CPU on return, so there's no reason to
      use the sync flushes at all and they're going away.
      
      This patch doesn't make any functional difference.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Ian Campbell <ian.campbell@citrix.com>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Mattia Dongili <malattia@linux.it>
      Cc: Kent Yoder <key@linux.vnet.ibm.com>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Karsten Keil <isdn@linux-pingi.de>
      Cc: Bryan Wu <bryan.wu@canonical.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Alasdair Kergon <agk@redhat.com>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: linux-wireless@vger.kernel.org
      Cc: Anton Vorontsov <cbou@mail.ru>
      Cc: Sangbeom Kim <sbkim73@samsung.com>
      Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Eric Van Hensbergen <ericvh@gmail.com>
      Cc: Takashi Iwai <tiwai@suse.de>
      Cc: Steven Whitehouse <swhiteho@redhat.com>
      Cc: Petr Vandrovec <petr@vandrovec.name>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Cc: Christoph Hellwig <hch@infradead.org>
      Cc: Avi Kivity <avi@redhat.com> 
      43829731
  17. 09 8月, 2012 1 次提交
    • A
      Input: eeti_ts: pass gpio value instead of IRQ · 4eef6cbf
      Arnd Bergmann 提交于
      The EETI touchscreen asserts its IRQ line as soon as it has data in its
      internal buffers. The line is automatically deasserted once all data has
      been read via I2C. Hence, the driver has to monitor the GPIO line and
      cannot simply rely on the interrupt handler reception.
      
      In the current implementation of the driver, irq_to_gpio() is used to
      determine the GPIO number from the i2c_client's IRQ value.
      
      As irq_to_gpio() is not available on all platforms, this patch changes
      this and makes the driver ignore the passed in IRQ. Instead, a GPIO is
      added to the platform_data struct and gpio_to_irq is used to derive the
      IRQ from that GPIO. If this fails, bail out. The driver is only able to
      work in environments where the touchscreen GPIO can be mapped to an
      IRQ.
      
      Without this patch, building raumfeld_defconfig results in:
      
      drivers/input/touchscreen/eeti_ts.c: In function 'eeti_ts_irq_active':
      drivers/input/touchscreen/eeti_ts.c:65:2: error: implicit declaration of function 'irq_to_gpio' [-Werror=implicit-function-declaration]
      Signed-off-by: NDaniel Mack <zonque@gmail.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: stable@vger.kernel.org (v3.2+)
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Sven Neumann <s.neumann@raumfeld.com>
      Cc: linux-input@vger.kernel.org
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      4eef6cbf
  18. 25 7月, 2012 1 次提交
  19. 18 7月, 2012 1 次提交
  20. 10 7月, 2012 1 次提交
    • R
      ARM: sa11x0/pxa: convert OS timer registers to IOMEM · 3169663a
      Russell King 提交于
      Make the OS timer registers have IOMEM like properities so they can
      be passed to readl_relaxed/writel_relaxed() et.al. rather than being
      straight volatile dereferences.  Add linux/io.h includes where
      required.
      
      linux/io.h includes added to arch/arm/mach-sa1100/cpu-sa1100.c,
       arch/arm/mach-sa1100/jornada720_ssp.c, arch/arm/mach-sa1100/leds-lart.c
       drivers/input/touchscreen/jornada720_ts.c, drivers/pcmcia/sa1100_shannon.c
      from Arnd.
      
      This fixes these warnings:
      
      arch/arm/mach-sa1100/time.c: In function 'sa1100_timer_init':
      arch/arm/mach-sa1100/time.c:104: warning: passing argument 1 of 'clocksource_mmio_init' discards qualifiers from pointer target type
      arch/arm/mach-pxa/time.c: In function 'pxa_timer_init':
      arch/arm/mach-pxa/time.c:126: warning: passing argument 1 of 'clocksource_mmio_init' discards qualifiers from pointer target type
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      3169663a
  21. 08 7月, 2012 1 次提交
    • D
      Input: wacom_i2c - fix compiler warning · 8830cb88
      Dmitry Torokhov 提交于
      Apparently GCC can't figure out that we bail if we fail to query device
      and will not try to use 'features':
      
      drivers/input/touchscreen/wacom_i2c.c: In function ‘wacom_i2c_probe’:
      drivers/input/touchscreen/wacom_i2c.c:177:20: warning: ‘features.fw_version’
      	may be used uninitialized in this function [-Wmaybe-uninitialized]
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      8830cb88
  22. 07 7月, 2012 1 次提交
  23. 06 7月, 2012 1 次提交
  24. 05 7月, 2012 1 次提交
  25. 29 6月, 2012 7 次提交