Message ID | 20221127144116.1418083-7-jic23@kernel.org |
---|---|
State | New |
Headers | show |
Series | Input: Fix insufficent DMA alignment. | expand |
diff --git a/drivers/input/touchscreen/surface3_spi.c b/drivers/input/touchscreen/surface3_spi.c index 1da23e5585a0..6c884fc2b332 100644 --- a/drivers/input/touchscreen/surface3_spi.c +++ b/drivers/input/touchscreen/surface3_spi.c @@ -32,7 +32,7 @@ struct surface3_ts_data { struct input_dev *pen_input_dev; int pen_tool; - u8 rd_buf[SURFACE3_PACKET_SIZE] ____cacheline_aligned; + u8 rd_buf[SURFACE3_PACKET_SIZE] __aligned(ARCH_KMALLOC_MINALIGN; }; struct surface3_ts_data_finger {