diff options
author | Jisheng Zhang <Jisheng.Zhang@synaptics.com> | 2018-04-02 06:24:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-02 18:14:03 +0300 |
commit | 1799cdd287ff09c6d34347409b0d4f464e197aea (patch) | |
tree | 444f30d07de54c17548d100a745e969aae8e1953 /drivers/soundwire | |
parent | 4a188a63afdffb5f62cccc508589c19e5297ed05 (diff) | |
download | linux-1799cdd287ff09c6d34347409b0d4f464e197aea.tar.xz |
net: mvneta: improve suspend/resume
Current suspend/resume implementation reuses the mvneta_open() and
mvneta_close(), but it could be optimized to take only necessary
actions during suspend/resume.
One obvious problem of current implementation is: after hundreds of
system suspend/resume cycles, the resume of mvneta could fail due to
fragmented dma coherent memory. After this patch, the non-necessary
memory alloc/free is optimized out.
Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/soundwire')
0 files changed, 0 insertions, 0 deletions