10 Apr, 2019

2 commits

  • Disable typec irq when suspend to avoid the threaded irq to access
    some resource(e.g. i2c over rpmsg) but those resource is not
    available at later phrase, also use IRQ_DISABLE_UNLAZY flag to
    mask the irq on irq chip level when irq happens.

    Suggested-by: Anson Huang
    Acked-by: Peter Chen
    Signed-off-by: Li Jun
    (cherry picked from commit 61869f787fb0ee2f00d0fe9443cb8b487e16e5ec)

    Li Jun
     
  • While system suspend, the typec event handling required service
    maybe is not available(suspended), so we need freeze those event
    handling by using freezable workqueue, e.g while tcpm is handling
    PD message but system suspend started.

    Acked-by: Peter Chen
    Signed-off-by: Li Jun
    (cherry picked from commit 270d4df94b7c2c773a171fe012fb8ce89196964f)

    Li Jun
     

12 Feb, 2019

38 commits