From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754062AbaESLID (ORCPT ); Mon, 19 May 2014 07:08:03 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:33943 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753177AbaESLIA (ORCPT ); Mon, 19 May 2014 07:08:00 -0400 Message-ID: <5379E5E6.9080500@ti.com> Date: Mon, 19 May 2014 16:37:18 +0530 From: Sekhar Nori User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Peter Ujfalusi , , CC: , , , , , , , , Subject: Re: [PATCH v3 02/13] ARM: edma: Take the number of tc from edma_soc_info (pdata) References: <1400242640-9902-1-git-send-email-peter.ujfalusi@ti.com> <1400242640-9902-3-git-send-email-peter.ujfalusi@ti.com> In-Reply-To: <1400242640-9902-3-git-send-email-peter.ujfalusi@ti.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Peter, On Friday 16 May 2014 05:47 PM, Peter Ujfalusi wrote: > Instead of saving the for loop length, take the num_tc value from the pdata. > In case of DT boot set the n_tc to 3 as it is hardwired in edma_of_parse_dt() > This is a temporary state since upcoming patch(es) will change how we are > dealing with these parameters. > > Signed-off-by: Peter Ujfalusi > --- > arch/arm/common/edma.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c > index 01707aae0a2b..d42c84a3432a 100644 > --- a/arch/arm/common/edma.c > +++ b/arch/arm/common/edma.c > @@ -1741,9 +1743,6 @@ static int edma_probe(struct platform_device *pdev) > map_queue_tc(j, queue_tc_mapping[i][0], > queue_tc_mapping[i][1]); > > - /* Save the number of TCs */ > - edma_cc[j]->num_tc = i; > - To which baseline do the patches apply? These lines are not present at least in v3.15-rc5. I am applying the patch without this hunk. Thanks, Sekhar