]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mips: setup: fix setnocoherentio() boolean setting
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 21 Feb 2022 17:50:29 +0000 (09:50 -0800)
committerPaolo Pisati <paolo.pisati@canonical.com>
Wed, 9 Mar 2022 14:17:55 +0000 (15:17 +0100)
commita2ca967aa9edaad472205e7c1a75c94d7444c881
treebf7c1a386f31bda521634656073b84a7b06cc0a8
parent6bd92d3914df4031344939358f46fbfff50574db
mips: setup: fix setnocoherentio() boolean setting

BugLink: https://bugs.launchpad.net/bugs/1964361
commit 1e6ae0e46e32749b130f1823da30cea9aa2a59a0 upstream.

Correct a typo/pasto: setnocoherentio() should set
dma_default_coherent to false, not true.

Fixes: 14ac09a65e19 ("MIPS: refactor the runtime coherent vs noncoherent DMA indicators")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
arch/mips/kernel/setup.c