1. 24 7月, 2014 2 次提交
  2. 08 6月, 2014 1 次提交
    • N
      Input: atmel_mxt_ts - fix invalid return from mxt_get_bootloader_version · 68807a0c
      Nick Dyer 提交于
      The patch e57a66aa: "Input: atmel_mxt_ts - read and report
      bootloader version" from May 18, 2014, leads to the following static
      checker warning:
      
      	drivers/input/touchscreen/atmel_mxt_ts.c:437 mxt_get_bootloader_version()
      	warn: signedness bug returning '(-5)'
      
      drivers/input/touchscreen/atmel_mxt_ts.c
         429  static u8 mxt_get_bootloader_version(struct mxt_data *data, u8 val)
         430  {
         431          struct device *dev = &data->client->dev;
         432          u8 buf[3];
         433
         434          if (val & MXT_BOOT_EXTENDED_ID) {
         435                  if (mxt_bootloader_read(data, &buf[0], 3) != 0) {
         436                          dev_err(dev, "%s: i2c failure\n", __func__);
         437                          return -EIO;
                                             ^^^^
      This gets truncated into a number from 0-255 and anyway the caller
      doesn't check for errors.
      
      (reported by Dan Carpenter)
      Signed-off-by: NNick Dyer <nick.dyer@itdev.co.uk>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      68807a0c
  3. 27 5月, 2014 4 次提交
  4. 19 5月, 2014 14 次提交
  5. 07 1月, 2014 1 次提交
  6. 06 12月, 2013 1 次提交
  7. 10 3月, 2013 1 次提交
    • L
      Atmel MXT touchscreen: increase reset timeouts · 8343bce1
      Linus Torvalds 提交于
      There is a more complete atmel patch-series out by Nick Dyer that fixes
      this and other things, but in the meantime this is the minimal thing to
      get the touchscreen going on (at least my) Pixel Chromebook.
      
      Not that I want my dirty fingers near that beautiful screen, but it
      seems that a non-initialized touchscreen will also end up being a
      constant wakeup source, so you have to disable it to go to sleep.  And
      it's easier to just fix the initialization sequence.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8343bce1
  8. 09 3月, 2013 1 次提交
  9. 24 11月, 2012 3 次提交
  10. 05 10月, 2012 1 次提交
  11. 20 9月, 2012 1 次提交
  12. 06 7月, 2012 1 次提交
  13. 05 7月, 2012 1 次提交
  14. 29 6月, 2012 8 次提交