From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751365AbcFILr0 (ORCPT ); Thu, 9 Jun 2016 07:47:26 -0400 Received: from mail.horus.com ([78.46.148.228]:38377 "EHLO mail.horus.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750790AbcFILrX (ORCPT ); Thu, 9 Jun 2016 07:47:23 -0400 X-Greylist: delayed 336 seconds by postgrey-1.27 at vger.kernel.org; Thu, 09 Jun 2016 07:47:23 EDT From: Matthias Reichl To: Vinod Koul , Stephen Warren , Lee Jones , Eric Anholt Cc: Martin Sperl , Clive Messer , dmaengine@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] dmaengine: bcm2835: Cyclic DMA fixes Date: Thu, 9 Jun 2016 13:41:42 +0200 Message-Id: <1465472504-10191-1-git-send-email-hias@horus.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In downstream Raspberry Pi kernel we noticed that audio didn't work as expected, we got stuttering and overruns/underruns. Here's the link to the original discussion on GitHub: https://github.com/raspberrypi/linux/issues/1517 This issue is caused by a small bug in the period-splitting-code and fixed by the first patch. The second patch, avoiding very small chunks, is mainly a precaution. While small chunks are not known to have caused any problems so far they have the potentical to cause very hard to track down issues. So better avoid such situations in the first place. Matthias Reichl (2): dmaengine: bcm2835: Fix cyclic DMA period splitting dmaengine: bcm2835: Avoid splitting periods into very small chunks drivers/dma/bcm2835-dma.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) -- 2.1.4