Re: [PATCH] hw/dma/soc_dma: Replace if-else chain with array lookup

Peter Maydell <[email protected]> Sat, 20 Jun 2026 21:23:03 +0100
Newsgroups org.nongnu.qemu-trivial,org.nongnu.qemu-devel
Message-ID <CAFEAcA9_Cy1x46YQSawzmF_fc4GVq_77vyRF7TWwruBND9eCGg@mail.gmail.com>
On Sat, 20 Jun 2026 at 18:20, Evgeny Kolmakov <[email protected]> wrote:
>
> Refactor transfer_fn assignment in soc_dma_ch_update()
> via array lookup as suggested by the TODO comment.
>
> Signed-off-by: Evgeny Kolmakov <[email protected]>

Any particular reason why you're looking at this ancient
code? It's used only by the omap SoC -- if we care enough
to do anything to it then converting it to qdev is fairly
high up the list...

thanks
-- PMM