From patchwork Mon Mar 2 21:50:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jolly Shah X-Patchwork-Id: 11416453 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1AD2E14E3 for ; Mon, 2 Mar 2020 21:51:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EC14120873 for ; Mon, 2 Mar 2020 21:51:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JvvM225v"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=xilinx.onmicrosoft.com header.i=@xilinx.onmicrosoft.com header.b="W5rwAl3q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EC14120873 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=uYJi3eyO4Ix9URDLjCn+z4eIB7MoixAVTklTf24pc0k=; b=JvvM225vsaLrOV rUaDcGTHGDa/3plmj3cUZWVGZl2b41ZTWEHL3APQDw7oxWZ1oH0Oc690bbqlLkNJZY/nc1X700l8p /uXlIV4YhkL50YUlK+DYz5cthnaKlOZ3XCiqbp4hM2vUFjcSU/Myu/heTjTwfZGznq06CFZ19CnJ4 aAakfEjJQRN8ciBwu+nN1DobpL0cGDuQpG6mUykhdcMWi0z+JwYaxiUci+XaGfWYph0q+T+zj++XP ewdaFkBWzcTc3DL+XMrnAyXZ10kKB/lw3TEpbDyortvn/lhubJELdrNTLYsrrAw6oQxqgveNxRJaR krwqsO5M0qii2qQLbVIA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j8syU-0007W5-5u; Mon, 02 Mar 2020 21:51:42 +0000 Received: from mail-bn8nam11on2060.outbound.protection.outlook.com ([40.107.236.60] helo=NAM11-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j8sxv-0006y5-Po for linux-arm-kernel@lists.infradead.org; Mon, 02 Mar 2020 21:51:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tk5EKzCCW71VsyqBOoebQrpm20hQDQ6T3Do2X1DJPFOthTbNniSISTwnhV26GNCDSqleg6iUUihc0k5K5Bd6d1AnTCGDl2Xurtjk3kEGju2Sa06v+ampwfv0wm+LRV+vSyAsWUqUQIALiyKtOgvIIPyELlyewq9g+xZeVCnqgjGE4wkKcyw4w6lZ1Dp1QqPJ5NWfK+OERiqU2TTmpWNiW/YyoiCGj8RM/wlzIWZeGSSe8ROjxPfL6ctYrGiOE1PkrujJe3vxcDGrUbWdGaCAm5DTgum2G6coMfplefiUbNKYhCf0ydL0RrSVp5UBiJouizp4G4gPqcxEVmcVX7mtlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7VG7ik2C7rir9fl79CtmCZpJuok1GFhef3IymL9aXR4=; b=n2eufz7n6EXpnhYElwBWJMFoUD4NehtD7fidWmZWP/aziS/p692SeE+UJ06H35K+yNQHQ9KL2SOdQQTqJisLeQhr2m0VNqLxA5i2F/hQUi9aD0mdBRvmekzfHJW+4XM6sy2MnSmRsXhtVBjYEO6m1LgImxfj6jePwQs/QJtKuq7/ep+6jT5YnXNa0eKB2sDozD6DqTsmwvjyKysD6O3qlGe4slJblFBD9V62hNux4mBr5M1is5LgAYnbtyzE7mIFK2JMpnXhQKpGxoAvMSm5hMU11HVENTNzua8+0A1vZVU5D1U9vJ54D+6E8Mv5UhOBHyJCvMI4r5MJb6brJeKa+g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.60.83) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=xilinx.com; dmarc=bestguesspass action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7VG7ik2C7rir9fl79CtmCZpJuok1GFhef3IymL9aXR4=; b=W5rwAl3quEQFKzmu02tTD9yuT+P/2izWBnr1ptanbqjmEjQj4DsvK/Uoa6qTsuKnDxsR9Eie8C1iObyNPR+ZFXGLrKgJ/gaJOS7HOkhOU0lpjpc9xCBiitPvb9eU2GaY2aGyi2cJJUeZ/oxvyEEGz7BqdypZvjdJnRgI1g+bb0Y= Received: from CY4PR18CA0068.namprd18.prod.outlook.com (2603:10b6:903:13f::30) by CH2PR02MB6680.namprd02.prod.outlook.com (2603:10b6:610:7b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.15; Mon, 2 Mar 2020 21:51:04 +0000 Received: from CY1NAM02FT020.eop-nam02.prod.protection.outlook.com (2603:10b6:903:13f:cafe::48) by CY4PR18CA0068.outlook.office365.com (2603:10b6:903:13f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.15 via Frontend Transport; Mon, 2 Mar 2020 21:51:04 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by CY1NAM02FT020.mail.protection.outlook.com (10.152.75.191) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.2772.15 via Frontend Transport; Mon, 2 Mar 2020 21:51:04 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1j8sxs-00022a-2g; Mon, 02 Mar 2020 13:51:04 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1j8sxm-0005jv-Vs; Mon, 02 Mar 2020 13:50:59 -0800 Received: from xsj-pvapsmtp01 (smtp.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id 022LopMZ009834; Mon, 2 Mar 2020 13:50:51 -0800 Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1j8sxf-0005fm-HV; Mon, 02 Mar 2020 13:50:51 -0800 From: Jolly Shah To: olof@lixom.net, mturquette@baylibre.com, sboyd@kernel.org, michal.simek@xilinx.com, arm@kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v2 0/4] drivers: clk: zynqmp: minor bux fixes for zynqmp clock driver Date: Mon, 2 Mar 2020 13:50:39 -0800 Message-Id: <1583185843-20707-1-git-send-email-jolly.shah@xilinx.com> X-Mailer: git-send-email 2.7.4 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(346002)(136003)(376002)(199004)(189003)(36756003)(26005)(5660300002)(8936002)(356004)(6666004)(9786002)(4744005)(186003)(81156014)(8676002)(81166006)(2906002)(7696005)(70206006)(478600001)(70586007)(426003)(107886003)(4326008)(44832011)(336012)(2616005)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:CH2PR02MB6680; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; A:1; MX:1; MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a49cdfc2-c762-4e48-d031-08d7bef3ce76 X-MS-TrafficTypeDiagnostic: CH2PR02MB6680: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:3631; X-Forefront-PRVS: 033054F29A X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EnqcDcTVub6ENu/L/fS9IqoOT4yqdas/4b5R0ThEx/Kl2Xu66LdWqPX3e5zh1NdoKbXFB1gYjG64gmGU9JFcGnTXcegx6wMiulWrfQMvwiach5bsMeJ9rR8AVcBp6BWkCwHdZzN1OGUy8O5v8EafIweN7khUFAvcfowA8Vu2R10nYdNzPsoNGkVT75QcNXV9Mfu6uaqfSBvJphdRMYtAdAD99Vhs10uR9ZO4odNK6ESBQoHYnx2/bZlYqlTBF3ojqxBjmyAIDyFsQ6PL33BA6GK3aqhOT6vST8Q0RHhyouqukavm56nAPn04x/NNhqdCT0nf5dJN76D+F7w1muZJ5JQoSU/x0ZDbnr7F7tt6c2i6HtqjzKcTCvU0EJZQ4Ke63C/yQHnmrxI+GDi0Nx5/T4HT+ndmKL/IC9NoWHAUZNTK4+huAlYhWqGXUINAgRrQ X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2020 21:51:04.5116 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a49cdfc2-c762-4e48-d031-08d7bef3ce76 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR02MB6680 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200302_135107_831773_9A3E6E68 X-CRM114-Status: UNSURE ( 7.24 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.236.60 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jolly Shah , rajanv@xilinx.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patchset includes below fixes for clock driver 1> Fix Divider2 calculation 2> Memory leak in clock registration 3> Fix invalid name queries 4> Limit bestdiv with maxdiv v2: - Updated subject for cover letter and patches to add prefix Quanyang Wang (1): drivers: clk: zynqmp: fix memory leak in zynqmp_register_clocks Rajan Vaja (2): drivers: clk: zynqmp: Limit bestdiv with maxdiv drivers: clk: zynqmp: Fix invalid clock name queries Tejas Patel (1): drivers: clk: zynqmp: Fix divider2 calculation drivers/clk/zynqmp/clkc.c | 20 ++++++++++++++------ drivers/clk/zynqmp/divider.c | 19 ++++++++++++++----- 2 files changed, 28 insertions(+), 11 deletions(-)