]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
dmaengine: hsu: Revert "set HSU_CH_MTSR to memory width"
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 13 Jun 2019 13:32:32 +0000 (16:32 +0300)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commitb301df088cac23fd1c0617c391e35ab8328cbce0
tree85b4e73bc521f89cedbcc968451d7902bfab935c
parent9d7fdcb7ba8223657b755222ac9dbd6a556f9794
dmaengine: hsu: Revert "set HSU_CH_MTSR to memory width"

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit c24a5c735f87d0549060de31367c095e8810b895 ]

The commit

  080edf75d337 ("dmaengine: hsu: set HSU_CH_MTSR to memory width")

has been mistakenly submitted. The further investigations show that
the original code does better job since the memory side transfer size
has never been configured by DMA users.

As per latest revision of documentation: "Channel minimum transfer size
(CHnMTSR)... For IOSF UART, maximum value that can be programmed is 64 and
minimum value that can be programmed is 1."

This reverts commit 080edf75d337d35faa6fc3df99342b10d2848d16.

Fixes: 080edf75d337 ("dmaengine: hsu: set HSU_CH_MTSR to memory width")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/dma/hsu/hsu.c