Message ID | 20221127144116.1418083-10-jic23@kernel.org |
---|---|
State | New |
Headers | show |
Series | Input: Fix insufficent DMA alignment. | expand |
diff --git a/drivers/input/touchscreen/elants_i2c.c b/drivers/input/touchscreen/elants_i2c.c index 879a4d984c90..7ad58518c651 100644 --- a/drivers/input/touchscreen/elants_i2c.c +++ b/drivers/input/touchscreen/elants_i2c.c @@ -184,7 +184,7 @@ struct elants_data { bool keep_power_in_suspend; /* Must be last to be used for DMA operations */ - u8 buf[MAX_PACKET_SIZE] ____cacheline_aligned; + u8 buf[MAX_PACKET_SIZE] __aligned(ARCH_KMALLOC_MINALIGN); }; static int elants_i2c_send(struct i2c_client *client,