Merge "diag: Add AXI prefetch related padding for CI controller"
diff --git a/drivers/char/diag/diagchar.h b/drivers/char/diag/diagchar.h
index b7d07dd..9988291 100644
--- a/drivers/char/diag/diagchar.h
+++ b/drivers/char/diag/diagchar.h
@@ -36,7 +36,11 @@
#define DIAG_MAX_REQ_SIZE (16 * 1024)
#define DIAG_MAX_RSP_SIZE (16 * 1024)
+#ifdef CONFIG_USB_CI13XXX_MSM
+#define APF_DIAG_PADDING 256
+#else
#define APF_DIAG_PADDING 0
+#endif
/*
* In the worst case, the HDLC buffer can be atmost twice the size of the
* original packet. Add 3 bytes for 16 bit CRC (2 bytes) and a delimiter