]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: ipa: move version check for channel suspend/resume
authorAlex Elder <elder@linaro.org>
Tue, 3 Aug 2021 14:00:59 +0000 (09:00 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Aug 2021 09:12:05 +0000 (10:12 +0100)
commit4a4ba483e4a56cb469f067493265f0173e06d060
treedc716c550899d3139c87d0cc9d10d0b057c1aef8
parentdecfef0fa6b21508657a6e54a01508196988bc95
net: ipa: move version check for channel suspend/resume

Change the Boolean flags passed to __gsi_channel_start() and
__gsi_channel_stop() so they represent whether the request is being
made to implement suspend (versus stop) or resume (versus start).

Then stop or start the channel for suspend/resume requests only if
the hardware version indicates it should be done.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/gsi.c