net: ipa: use version in gsi_channel_reset()
authorAlex Elder <elder@linaro.org>
Mon, 2 Nov 2020 17:53:58 +0000 (11:53 -0600)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Nov 2020 00:28:04 +0000 (16:28 -0800)
commit9de4a4ccddb30478b15f1dc8efbf3d06609d4066
treec160c70bb3b079c97560d2d3d52f5c4e40c42d1c
parent56dfe8dedff977e5c20fbe7ace5e5f9ddef4b4ec
net: ipa: use version in gsi_channel_reset()

A quirk of IPA v3.5.1 requires a channel reset on an RX channel to
be performed twice.  Use the IPA version in gsi_channel_reset()
rather than the passed-in legacy flag to determine that.

This is actually a bug fix, because this double reset is supposed
to occur independent of whether we're enabling the doorbell engine.
Now they will be independent.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.c