Skip to content

Commit 1e6ae0e

Browse files
rddunlaptsbogend
authored andcommitted
mips: setup: fix setnocoherentio() boolean setting
Correct a typo/pasto: setnocoherentio() should set dma_default_coherent to false, not true. Fixes: 14ac09a ("MIPS: refactor the runtime coherent vs noncoherent DMA indicators") Signed-off-by: Randy Dunlap <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Thomas Bogendoerfer <[email protected]> Cc: [email protected] Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent f2703de commit 1e6ae0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/kernel/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ early_param("coherentio", setcoherentio);
803803

804804
static int __init setnocoherentio(char *str)
805805
{
806-
dma_default_coherent = true;
806+
dma_default_coherent = false;
807807
pr_info("Software DMA cache coherency (command line)\n");
808808
return 0;
809809
}

0 commit comments

Comments
 (0)