net: qrtr: Make wakeup timeout configurable
The qrtr driver can guarantee that the packet gets queued to the socket but cannot guarantee the client process will get time to run if auto sleep is enabled. This config will help mitigate missed packets on systems where auto sleep is too aggressive. Use the pm_wakeup_ws_event() api so a hard wakeup can be specified. This will ensure a resume occurs if the data coming in happens while the device is going into suspend. Change-Id: Ic596e06e585b3479a6faa1d0210c016fc9138c6e Signed-off-by:Chris Lew <clew@codeaurora.org> Signed-off-by:
Arun Prakash <app@codeaurora.org>
Loading
Please register or sign in to comment