Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp799711yba; Wed, 3 Apr 2019 20:49:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzAQzEAPERRrhCsN3yg1a6zCPjEyXc261pcljZafeR2SBYwa4HCfTzBFJ/dwSdyPkYwmKfk X-Received: by 2002:a63:e915:: with SMTP id i21mr3421099pgh.297.1554349787889; Wed, 03 Apr 2019 20:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554349787; cv=none; d=google.com; s=arc-20160816; b=wk1rHAgF6LYGM1Ffq8FQli+fXEp5w3f2toI4Ks8oqGZCLoiOD9jZdjKhYA8zDPTH5h qmfK3uM5dluOt92pqtf0ZdIua2iyOqRizlKj9+gttwAcnUNMZP3j0MuArJhU92cUJa6j D8eY/LVeZHRySTsCGcSzQwAtdivFws8V/z7tLe73P6BvYB2Zz+T1Z1fhfKoUpckfd6FZ jXFX5hzj6c/bGXgr70cyY4lXdxa2KOTJGJegxuH+y/0hqc2xhHHFMR0Bz9Ftg68yerKt eXWlfbm3jIi8ac6UXawGw9hbs9IITgsgPjJbXMFNmp+/5khj2vqaOoLaur98y1q7dbur 1Gjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=8dqc/MaCxSSvHh7iUGXsPAw+axG9uswKrVVJc2S38A8=; b=Z/pcddEuVtoI/UpKXeGy93CU2fajx3Wm6bzX0YVdc9xXViahqixHhBdPW5ZCbQozv0 COI9P1NbQqdFCfonady/Lppy+Ca3lPxLH/D0+N9pFLQyXMODMCA71ujNuGHjpQ2vNDOC LP6HjCYwCfoPvNGGBKIMLBe6aZopPYASShoObmK+S1bvo+WGR+4zGunNkw3uXjLv1PG2 5Jqw8tybT4Z6dk3SdN3VK9eCs0Yutdg/LHOPn+EDASjvzeaxwC4fXigFw+lONagVcyT/ fujFELdrN4C3q9f3esrroHpejDQWGdw+zwuPMJ/snVtAOwLMqXp7yeBzcthF6QMD8ntr LsIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11si8417904pgp.495.2019.04.03.20.49.32; Wed, 03 Apr 2019 20:49:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728192AbfDDDsy (ORCPT + 99 others); Wed, 3 Apr 2019 23:48:54 -0400 Received: from regular1.263xmail.com ([211.150.70.202]:41946 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726404AbfDDDsx (ORCPT ); Wed, 3 Apr 2019 23:48:53 -0400 Received: from sugar.zhang?rock-chips.com (unknown [192.168.167.29]) by regular1.263xmail.com (Postfix) with ESMTP id ECB1E2AE; Thu, 4 Apr 2019 11:48:43 +0800 (CST) X-263anti-spam: KSV:0;BIG:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ADDR-CHECKED4: 1 X-ABS-CHECKED: 1 X-SKE-CHECKED: 1 X-ANTISPAM-LEVEL: 2 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P10405T140418540381952S1554349718945207_; Thu, 04 Apr 2019 11:48:42 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <897e75b0a0753d512c793d62121d060f> X-RL-SENDER: sugar.zhang@rock-chips.com X-SENDER: zxg@rock-chips.com X-LOGIN-NAME: sugar.zhang@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Sugar Zhang To: heiko@sntech.de, broonie@kernel.org Cc: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Sugar Zhang Subject: [PATCH v1 05/12] ASoC: rockchip: pdm: change dma burst to 8 Date: Thu, 4 Apr 2019 11:48:11 +0800 Message-Id: <1554349691-23450-1-git-send-email-sugar.zhang@rock-chips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554298856-59028-1-git-send-email-sugar.zhang@rock-chips.com> References: <1554298856-59028-1-git-send-email-sugar.zhang@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch decreases the transfer bursts to avoid the fifo overrun. Signed-off-by: Sugar Zhang --- sound/soc/rockchip/rockchip_pdm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/rockchip/rockchip_pdm.c b/sound/soc/rockchip/rockchip_pdm.c index abbb6d7..c50494b 100644 --- a/sound/soc/rockchip/rockchip_pdm.c +++ b/sound/soc/rockchip/rockchip_pdm.c @@ -24,7 +24,7 @@ #include "rockchip_pdm.h" -#define PDM_DMA_BURST_SIZE (16) /* size * width: 16*4 = 64 bytes */ +#define PDM_DMA_BURST_SIZE (8) /* size * width: 8*4 = 32 bytes */ struct rk_pdm_dev { struct device *dev; -- 2.7.4