Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1717697yba; Thu, 25 Apr 2019 04:42:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7a6eMiVY/xcwf7jQWZz+4zAGnFH7e/wXj3Rz0jwWjZtztJLyiPGZf8C5EwnqiJJXusqr7 X-Received: by 2002:a17:902:b28:: with SMTP id 37mr37843439plq.322.1556192539543; Thu, 25 Apr 2019 04:42:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556192539; cv=none; d=google.com; s=arc-20160816; b=CTUjEtnBHYau7Rn2oXEMZnWWu3smPldigvsACbh89+leXRjZLEbCD4n5PZn5Svh5hQ qZyed345d/OpCqnWjjUXHxKgyazK50wUjoe99/R6gVDO0SO5aGpB2WbW8h30sPw9q/p2 Cu5hfm4te8v9SHHM9O5a5Yc0CYMgrUj4L+BQKXOcwCOrFrFPkfJqQ7DYuAOaEZVkCAKv fvSaac20gLOFPuIShRHS3t2HP1mv82FdApg+oDC2l0tHiPJhT5X5NzfjELMhpvHFroOC r5qnuInuPaa8MU1mq+MXR+GNwbQtQf2oMKmGEQBTGfzjbkE4dozto9sUzbO0P2FFD8Bd J1Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:message-id:to:subject :from:cc:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=RluwC5zCEKni/jgQ2uktGCLAaaeIkKY32hL8Tivj4V4=; b=0UvRd3ZUg/80GdPmv0DbbQnMXAt1q9p5Oa7LjcOkz7oezeISTT2ZaxQQ30HNNbZTeP BVgM88iwKQho3mjayRmEA6o5lMIUsX5gt7kGXQlSECBU8XgFRM66PEvnzc/D74vxzN/k cxaDw/h0EGOLUxXDa+6F/553hge0mgrrrwNZn8/+TQyQimur0017I17DZ6nba80KjuYP uG9zDmGw444lZ56s/+w2Xhms1+cPq5BJkxU0PqAUBxQT3dOJXUFa3RYgL04K/+GIoQ3K iW8tksh0WbDjTQZjJ276EII/Wu68OijtJA26HdHA7k9Uvmyn1SSdVo1KiycmPoZRruvh 9LDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gjGboqiJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3si22492157plb.148.2019.04.25.04.42.04; Thu, 25 Apr 2019 04:42:19 -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; dkim=pass header.i=@kernel.org header.s=default header.b=gjGboqiJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728080AbfDXXVS (ORCPT + 99 others); Wed, 24 Apr 2019 19:21:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:40748 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727358AbfDXXVR (ORCPT ); Wed, 24 Apr 2019 19:21:17 -0400 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B6CF62175B; Wed, 24 Apr 2019 23:21:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556148076; bh=DSmHkoIkwZsm1Mx8ltfExaA4b8nehNkyJDu8NKgo8pI=; h=In-Reply-To:References:Cc:From:Subject:To:Date:From; b=gjGboqiJ3iboaJ9xE1Ny624NdCprS5t9kYpU06qxsjIaN3AkYjEhmk8nojpeteq0Z VfblfykldCXCugpYlUmGSY6cU1g4yfipoTPT5520A4cJGF5bjlYGxNGwS8Pf9Krn3t 2GgwXjdP4ga0wkZyHufMV2o5cJ84lRiepHweIoOc= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1556117426-26878-1-git-send-email-vabhav.sharma@nxp.com> References: <1556117426-26878-1-git-send-email-vabhav.sharma@nxp.com> Cc: "mturquette@baylibre.com" , Yogesh Narayan Gaur , Vabhav Sharma From: Stephen Boyd Subject: Re: [PATCH] arm64: drivers: clk: qoriq: increase array size of cmux_to_group To: "linux-clk@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Vabhav Sharma Message-ID: <155614807592.15276.17299738374776352204@swboyd.mtv.corp.google.com> User-Agent: alot/0.8 Date: Wed, 24 Apr 2019 16:21:15 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Your subject should be "clk: qoriq: Increase array size of cmux_to_group" Quoting Vabhav Sharma (2019-04-24 07:50:13) > From: Yogesh Gaur >=20 > Increase size of cmux_to_group array, to accomdate entry of > -1 termination. >=20 > Added -1, terminated, entry for 4080_cmux_grpX. >=20 > Signed-off-by: Yogesh Gaur > Signed-off-by: Vabhav Sharma > Acked-by: Scott Wood > Acked-by: Stephen Boyd > --- > drivers/clk/clk-qoriq.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c > index 1212a9b..f6606cf 100644 > --- a/drivers/clk/clk-qoriq.c > +++ b/drivers/clk/clk-qoriq.c > @@ -79,7 +79,7 @@ struct clockgen_chipinfo { > const struct clockgen_muxinfo *cmux_groups[2]; > const struct clockgen_muxinfo *hwaccel[NUM_HWACCEL]; > void (*init_periph)(struct clockgen *cg); > - int cmux_to_group[NUM_CMUX]; /* -1 terminates if fewer than NUM_C= MUX */ > + int cmux_to_group[NUM_CMUX+1]; /* array should be -1 terminated */ Please put space around that +. > u32 pll_mask; /* 1 << n bit set if PLL n is valid */ > u32 flags; /* CG_xxx */ > }; > @@ -601,7 +601,7 @@ static const struct clockgen_chipinfo chipinfo[] =3D { > &p4080_cmux_grp1, &p4080_cmux_grp2 > }, > .cmux_to_group =3D { > - 0, 0, 0, 0, 1, 1, 1, 1 > + 0, 0, 0, 0, 1, 1, 1, 1, -1 > }, > .pll_mask =3D 0x1f, > }, Did you want this patch to go through clk tree? I seem to have acked it, which I don't remember. Usually when I ack something I assume it's going through some other tree.