summaryrefslogtreecommitdiffstats
path: root/lib/pci_iomap.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2020-04-30 16:35:12 -0500
committerDavid S. Miller <davem@davemloft.net>2020-04-30 18:04:58 -0700
commit0b1ba18aec3e599c16cca7d99969282fb9db7e92 (patch)
tree8300d4e3ebe1c9e3deebad586d3deb68b1cb1325 /lib/pci_iomap.c
parent0721999f157006367965f4c4e7d5594bd4c9bf15 (diff)
downloadlinux-0b1ba18aec3e599c16cca7d99969282fb9db7e92.tar.bz2
net: ipa: zero return code before issuing generic EE command
Zero the result code stored in a field of the scratch 0 register before issuing a generic EE command. This just guarantees that the value we read later was actually written as a result of the command. Also add the definitions of two more possible result codes that can be returned when issuing flow control enable or disable commands: INCORRECT_CHANNEL_STATE: - channel must be in started state INCORRECT_DIRECTION - flow control is only valid for TX channels Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/pci_iomap.c')
0 files changed, 0 insertions, 0 deletions