OSDN Git Service

net: ipa: pass a value to gsi_irq_type_update()
authorAlex Elder <elder@linaro.org>
Thu, 5 Nov 2020 18:14:07 +0000 (12:14 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 7 Nov 2020 23:39:17 +0000 (15:39 -0800)
commit8194be79fbbc36dae391b7d747ba58459687792a
tree817b3a9ae2d7f7485a2e57342022cd49722a8140
parent352f26a886d859927310a9dfdbaf1a989dfb18ca
net: ipa: pass a value to gsi_irq_type_update()

Now that all of the GSI interrupts are handled uniformly,
change gsi_irq_type_update() so it takes a value.  Have the
function assign that value to the cached mask of enabled GSI
IRQ types before writing it to hardware.

Note that gsi_irq_teardown() will only be called after
gsi_irq_disable(), so it's not necessary for the former
to disable all IRQ types.  Get rid of that.

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