]> Gentwo Git Trees - linux/.git/commit
soc: fsl: qmc: Only set completion interrupt when needed
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 18 Sep 2025 15:34:08 +0000 (17:34 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 18 Sep 2025 21:50:45 +0000 (22:50 +0100)
commitc2a60426e94a56e5329f6c2681c251281f63ab24
tree820f9605b6531317af596e7aa06d70e5b52a402c
parentf83ec76bf285bea5727f478a68b894f5543ca76e
soc: fsl: qmc: Only set completion interrupt when needed

When no post-completion processing is expected, don't waste time
handling useless interrupts.

Only set QMC_BD_[R/T]X_I when a completion function is passed in,
and perform seamless completion on submit for interruptless buffers.

Acked-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://patch.msgid.link/40b41b53a26e77a50b3a5f68fcecc6f9a40a84b4.1758209158.git.christophe.leroy@csgroup.eu
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/soc/fsl/qe/qmc.c