• M
    i2c: designware: Add runtime PM hooks · 1fc2fe20
    Mika Westerberg 提交于
    It is possible that after entering runtime PM suspend the controller
    context is lost due the fact that its power is removed. This happens for
    example on Asus T100, an Intel Baytrail based tablet/laptop.
    
    In order to get the controller back to functional state, we need to
    implement runtime PM hooks which will re-initialize the hardware during
    runtime PM resume. We can re-use the existing system suspend hooks as the
    steps to resume/suspend the controller are the same.
    Signed-off-by: NMika Westerberg <mika.westerberg@linux.intel.com>
    Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
    1fc2fe20
i2c-designware-platdrv.c 7.8 KB