• M Chetan Kumar's avatar
    net: wwan: iosm: enable runtime pm support for 7560 · e4f5073d
    M Chetan Kumar authored
    Adds runtime pm support for 7560.
    
    As part of probe procedure auto suspend is enabled and auto suspend
    delay is set to 5000 ms for runtime pm use. Later auto flag is set
    to power manage the device at run time.
    
    On successful communication establishment between host and device the
    device usage counter is dropped and request to put the device into
    sleep state (suspend).
    
    In TX path, the device usage counter is raised and device is moved out
    of sleep(resume) for data transmission. In RX path, if the device has
    some data to be sent it request host platform to change the power state
    by giving PCI PME message.
    Signed-off-by: default avatarM Chetan Kumar <m.chetan.kumar@linux.intel.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    e4f5073d
iosm_ipc_port.c 2.55 KB