From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandre.belloni@free-electrons.com (Alexandre Belloni) Date: Thu, 16 Feb 2017 18:08:28 +0100 Subject: sDMA on i.mx7d In-Reply-To: <1487263639.13536.36.camel@pengutronix.de> References: <20170214222425.hbkfkeq3l6sveo7n@piout.net> <20170215110736.oumvvv7zordd2jdw@piout.net> <3513b2c01d86ad7312522d6be97e766f@agner.ch> <20170216104229.axwm3445yj6zrxoz@piout.net> <20170216164038.zbl2nb76now3glkk@piout.net> <1487263639.13536.36.camel@pengutronix.de> Message-ID: <20170216170828.bcbpvtdobmcxr2lu@piout.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 16/02/2017 at 17:47:19 +0100, Lucas Stach wrote: > Am Donnerstag, den 16.02.2017, 17:40 +0100 schrieb Alexandre Belloni: > > On 16/02/2017 at 13:36:28 -0200, Fabio Estevam wrote: > > > Hi Alexandre, > > > > > > On Thu, Feb 16, 2017 at 8:42 AM, Alexandre Belloni > > > wrote: > > > > > > > I confirm it is the culprit. > > > > > > Does this mean that PCM3168s codec works fine on imx7 using SAI on > > > 4.9.x plus the revert? > > And there is already a fix for this in 4.10: > 85f57752b33c (dmaengine: imx-sdma - correct the dma transfer residue > calculation) > > This fixes audio output on i.MX6 and should probably be sent to -stable. > Can you see if applying this patch gets rid of the issues on i.MX7? > It does too, thanks! It is probably worth having it on 4.9. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com