From ae78aa16b622bdbfc31cb3c43ced1efad13dd170 Mon Sep 17 00:00:00 2001 From: Bhaumik Bhatt Date: Tue, 17 Dec 2019 17:02:11 -0800 Subject: [PATCH] ARM: dts: msm: set maximum buffer length to solve malloc failure Memory allocations of order of 4 and upwards are not recommended by memory team. Fix a maximum buffer length of 32KB instead of the MHI supported maximum of 64KB. Change-Id: I4527390463032223e941777fea7f48446555c029 Signed-off-by: Bhaumik Bhatt --- arch/arm64/boot/dts/qcom/sdxprairie.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdxprairie.dtsi b/arch/arm64/boot/dts/qcom/sdxprairie.dtsi index 1a55c860d19d..224264cbfa08 100644 --- a/arch/arm64/boot/dts/qcom/sdxprairie.dtsi +++ b/arch/arm64/boot/dts/qcom/sdxprairie.dtsi @@ -1059,6 +1059,7 @@ qcom,smmu-s1-enable; mhi,max-channels = <30>; + mhi,buffer-len = <0x8000>; mhi,timeout = <10000>; mhi_channels {