summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlark Xiao <slark_xiao@163.com>2022-02-05 19:27:31 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-16 12:56:39 +0100
commit16cde074b00cb29a023573667cf7f5829d28d2ef (patch)
treeb4a7285792d6c051cae074119dae19fbd477ef02
parent2c1d20e34669836af45164bcead71ab79ff79f99 (diff)
downloadlinux-stable-16cde074b00cb29a023573667cf7f5829d28d2ef.tar.gz
linux-stable-16cde074b00cb29a023573667cf7f5829d28d2ef.tar.bz2
linux-stable-16cde074b00cb29a023573667cf7f5829d28d2ef.zip
bus: mhi: pci_generic: Add mru_default for Cinterion MV31-W
commit 05daa805a86c831ad9692f6f15e1b877c8f10638 upstream. For default mechanism, product would use default MRU 3500 if they didn't define it. But for Cinterion MV31-W, there is a known issue which MRU 3500 would lead to data connection lost. So we align it with Qualcomm default MRU settings. Link: https://lore.kernel.org/r/20220119102519.5342-1-slark_xiao@163.com [mani: Modified the commit message to reflect Cinterion MV31-W and CCed stable] Fixes: 87693e092bd0 ("bus: mhi: pci_generic: Add Cinterion MV31-W PCIe to MHI") Cc: stable@vger.kernel.org # v5.14 + Reviewed-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Slark Xiao <slark_xiao@163.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Link: https://lore.kernel.org/r/20220205135731.157871-3-manivannan.sadhasivam@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/bus/mhi/pci_generic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bus/mhi/pci_generic.c b/drivers/bus/mhi/pci_generic.c
index 5c32fe3c481e..d340d6864e13 100644
--- a/drivers/bus/mhi/pci_generic.c
+++ b/drivers/bus/mhi/pci_generic.c
@@ -402,6 +402,7 @@ static const struct mhi_pci_dev_info mhi_mv31_info = {
.config = &modem_mv31_config,
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
.dma_data_width = 32,
+ .mru_default = 32768,
};
static const struct pci_device_id mhi_pci_id_table[] = {