Message ID | 20221127144116.1418083-9-jic23@kernel.org |
---|---|
State | New |
Headers | show |
Series | Input: Fix insufficent DMA alignment. | expand |
diff --git a/drivers/input/misc/atmel_captouch.c b/drivers/input/misc/atmel_captouch.c index 051aded6815a..9681c763356c 100644 --- a/drivers/input/misc/atmel_captouch.c +++ b/drivers/input/misc/atmel_captouch.c @@ -71,7 +71,7 @@ struct atmel_captouch_device { u32 num_btn; u32 keycodes[MAX_NUM_OF_BUTTONS]; u8 prev_btn; - u8 xfer_buf[8] ____cacheline_aligned; + u8 xfer_buf[8] __aligned(ARCH_KMALLOC_MINALIGN); }; /*