← Back to team overview

kernel-packages team mailing list archive

[Bug 1535513] [NEW] Enable suspend function for i2c-hid device in Vivid

 

Public bug reported:

[Impact]
On some platforms the touchpad relies on pinctrl devices to provide GPIO interrupt, but in 3.19.0 pinctrl-cherryview doesn't support suspend well and will lose the config after suspend/resume, then touchpad can't be used.

Also, there is a racing condition in i2c-hid module which makes touchpad
unusable when waking up.

[Fix]
This fix has two parts. First part is to enable the suspend/resume function in pinctrl-cherryview:

commit 9eb457b547cc731bc2fc251bd79891a60c64fc3e
Refs: [HEAD]
Author: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
Date: Thu Dec 4 12:32:50 2014 +0200

    pinctrl: cherryview: Save and restore pin configs over system sleep

The second part is to eliminate the racing condition in i2c-hid:

commit 9a327405014f4ef4cdad67a0686db82b9f23c62c 
Author: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
Date:   Mon Dec 21 15:26:31 2015 +0200

    HID: i2c-hid: Prevent sending reports from racing with device reset

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Phidias (phidias-chiang)
         Status: Incomplete


** Tags: vivid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1535513

Title:
  Enable suspend function for i2c-hid device in Vivid

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  [Impact]
  On some platforms the touchpad relies on pinctrl devices to provide GPIO interrupt, but in 3.19.0 pinctrl-cherryview doesn't support suspend well and will lose the config after suspend/resume, then touchpad can't be used.

  Also, there is a racing condition in i2c-hid module which makes
  touchpad unusable when waking up.

  [Fix]
  This fix has two parts. First part is to enable the suspend/resume function in pinctrl-cherryview:

  commit 9eb457b547cc731bc2fc251bd79891a60c64fc3e
  Refs: [HEAD]
  Author: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
  Date: Thu Dec 4 12:32:50 2014 +0200

      pinctrl: cherryview: Save and restore pin configs over system
  sleep

  The second part is to eliminate the racing condition in i2c-hid:

  commit 9a327405014f4ef4cdad67a0686db82b9f23c62c 
  Author: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
  Date:   Mon Dec 21 15:26:31 2015 +0200

      HID: i2c-hid: Prevent sending reports from racing with device
  reset

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1535513/+subscriptions


Follow ups