diff options
| author | Kaustabh Chakraborty <kauschluss@disroot.org> | 2026-05-16 00:38:37 +0300 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-06-17 13:26:50 +0300 |
| commit | 9e667b8ebd5d8229cf523372bf62660f1090c8a0 (patch) | |
| tree | 3dbe55322a1c4d8a7e27dfd9f45ca9c32b8a7f43 | |
| parent | e491ebea157ff3ba18483ea0f82a9536dc393dec (diff) | |
| download | linux-9e667b8ebd5d8229cf523372bf62660f1090c8a0.tar.xz | |
mfd: sec: Set DMA coherent mask
Kernel logs are filled with "DMA mask not set" messages for every
sub-device. The device does not use DMA for communication, so these
messages are useless. Disable the coherent DMA mask for the PMIC device,
which is also propagated to sub-devices.
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Link: https://patch.msgid.link/20260516-s2mu005-pmic-v7-5-73f9702fb461@disroot.org
Signed-off-by: Lee Jones <lee@kernel.org>
| -rw-r--r-- | drivers/mfd/sec-common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/sec-common.c b/drivers/mfd/sec-common.c index 22f6c74eb6c0..fe92bc4a3dd2 100644 --- a/drivers/mfd/sec-common.c +++ b/drivers/mfd/sec-common.c @@ -221,6 +221,9 @@ int sec_pmic_probe(struct device *dev, int device_type, unsigned int irq, if (IS_ERR(irq_data)) return PTR_ERR(irq_data); + dev->coherent_dma_mask = 0; + dev->dma_mask = &dev->coherent_dma_mask; + pm_runtime_set_active(sec_pmic->dev); switch (sec_pmic->device_type) { |
