Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp303268pxu; Wed, 14 Oct 2020 01:31:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3aFrYSImdLy/EWcEbiEsP2ybM0mUsrEhBkKNSNl49NzeBSr9OBI4qRmVfQe+Bu+zmu5xk X-Received: by 2002:a17:906:a848:: with SMTP id dx8mr4015682ejb.552.1602664276796; Wed, 14 Oct 2020 01:31:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602664276; cv=none; d=google.com; s=arc-20160816; b=kyxLdkpANT1h7L2p9W5buXeVfZ4DTqmFHp6ZthWjYLiCtRPv+PVG5sJpqus1Cf+B9v zEvPVB1852NTh4dp/itPA6G6Il1k2uAl8ZOjnx7cjX+bzGsECpYfPAvvmzAXm2CuR4No xI34Q5iM8iXqZYY+Us0Yw6kfS3Ny1QOiLI0QUqwppGJ9GnPrr+1FI68fPosfBC04z8Td rnOd+CITp2GjLH5SVBk3N+lr1FGRRqdPLgHXWpNzJ7zisvCQ2WnVih6wRbBf0iPyFKZA BBhk3vWANytG3JeDq/IaJi4fivNIMMGxpNpuQDfEQPKUQlXlSClVn6X21+ZwD9bqug2G 6/pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=I6nbyZJlX8uFNJncrN0vqj/YWfBo3KckNQEeI/eQKcM=; b=kRwsJXNtbwn8+uPqGTj8lEz2sYtp8LDw+n8poGdiLeyj+qoMZSNvSjlMCsC15ME/c0 UFkT05UpvQ3PELwYCiulSJuGie4VBPXPx1ZZNmH3aQ0NV8qWypHav0FYz6K5cuST21Yp MAZ2VJiHjCHgG3rQL1yyG8nO9JhyvIGtAQXuRKFki15Nd5Z712bMjQF0qWBJ1O6sivX0 yf8uKGVRuxft3jpT27FbjfYTBq3plfQ90wq+xRPTQumAw6py7it/Lg0onBNH6UPBegEb JH9aJzhOYxJq8H7ATZEanMi/jbQrOhc1LnRnHntucLReVq/M60HGQyXDYtpfJnbzOZXP uJug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ogRWYKh+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id a15si1646919edx.281.2020.10.14.01.30.54; Wed, 14 Oct 2020 01:31:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ogRWYKh+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726390AbgJNCnn (ORCPT + 99 others); Tue, 13 Oct 2020 22:43:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:36626 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725899AbgJNCnm (ORCPT ); Tue, 13 Oct 2020 22:43:42 -0400 Received: from kernel.org (unknown [104.132.1.79]) (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 2178221775; Wed, 14 Oct 2020 02:43:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602643422; bh=UWEJk82Cdbiv30DvTjPsPNZGzD+7d86evQl7VsGfmuY=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=ogRWYKh+ENCQGLilusGcgXCaz1Rsb1GCofihg7UkjNuGai+Ugl6IpflPFAlX0jXIm 6vb299IC15HXM92Rz9wwYpI4KVZe9ZxbRPQOGwgtpI81S5I3P/+fMtIpX3uHGUp06b VQGgvHHDqVKWtCDu1WhCckyEPVnwpoXdsAX7+wS8= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20201001165646.32279-3-krzk@kernel.org> References: <20201001165646.32279-1-krzk@kernel.org> <20201001165646.32279-3-krzk@kernel.org> Subject: Re: [PATCH 2/2] clk: samsung: exynos-clkout: convert to module driver From: Stephen Boyd Cc: Marek Szyprowski To: Chanwoo Choi , Krzysztof Kozlowski , Kukjin Kim , Michael Turquette , Sylwester Nawrocki , Tomasz Figa , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Date: Tue, 13 Oct 2020 19:43:40 -0700 Message-ID: <160264342071.310579.16332243912081691987@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Krzysztof Kozlowski (2020-10-01 09:56:46) > diff --git a/drivers/clk/samsung/clk-exynos-clkout.c b/drivers/clk/samsun= g/clk-exynos-clkout.c > index 34ccb1d23bc3..68af082d4716 100644 > --- a/drivers/clk/samsung/clk-exynos-clkout.c > +++ b/drivers/clk/samsung/clk-exynos-clkout.c > @@ -28,41 +31,103 @@ struct exynos_clkout { [...] > + if (!match) { > + dev_err(dev, "cannot match parent device\n"); > + return -EINVAL; > + } > + variant =3D match->data; > + > + *mux_mask =3D variant->mux_mask; > + dev_err(dev, "MATCH: %x\n", variant->mux_mask); Is this a debug print? > + > + return 0; > +} >