net: ipa: use common value for channel type and protocol
authorAlex Elder <elder@linaro.org>
Tue, 10 Nov 2020 21:59:18 +0000 (15:59 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Nov 2020 23:13:41 +0000 (15:13 -0800)
commit46dda53ef7de2910e57e66bb1131298a073f779e
tree5fe191049c09908d8a4416ab4dd7548142722da4
parent6c6358cca6fd62c596acb713ff1cc25646ce0cd4
net: ipa: use common value for channel type and protocol

The numeric values that represent the event ring channel type are
identical to the values that represent the matching protocol used
for a channel.  Use a new gsi_channel_type enumerated type to
represent the values programmed for both cases, using "CHANNEL_TYPE"
in member names in place of "EVT_CHTYPE" and "CHANNEL_PROTOCOL".

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