]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaef83dd6922d64d8db8303325649db42662b4773
tree817b3a9ae2d7f7485a2e57342022cd49722a8140
parentf27a0a2508834460cbe1fcc17b4af0fbc3b7131a
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