Message ID | 20240714105328.35825-8-michael@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCXK73FY3AFRBOG4Z22AMGQEPO4R5AA@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 7F29C412C7 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 14 Jul 2024 12:53:44 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-58cdd86c091sf3082676a12.3 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 14 Jul 2024 03:53:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720954424; cv=pass; d=google.com; s=arc-20160816; b=wHB/8yTi3AvOF28Rs/tS9O3Xc78xxX3AdbiA1pqR0VjX5S836D9jKtSQR5sfwFyXw1 +JMwyLKUi0lCf1N9u5/roWd+Zau0e5L3r2tCYwMSIs049F6TUJVcqkoV5SbrAWd6Kvil A8IuqzCqVRgOJF4MtYwSmkvIKGuiX02wL4pmb0Olx4FE8l8PYcOY2PvcQDEHk2Da7MSF 7jo2NzJfvE6U4f1dg8R9uXaa1GKKfADtpkwwptVzr4Ve14jL3joOUIxewuaKCDiP0JrX ljOdgv88kbq9kJSoLT52zUCymm4aww1UGY/cO46QtGTmx24d/E2HDTs0LgtiYzBysYsm 4+TA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=knY4D99gkaJx4Ut/tHtwX71I9JGiN7dVwVq0Jqes/jo=; fh=4Pu0UeFP5h1pqEwRkV6hP4rWqz/KSBWK6zDeZ+JJW0s=; b=uv0cnWkx0Qr1A4A6UlgIbT6Ql3l28tzEVrEfYNeNSAQDeyZoeqb7cjVBpiLMJUjSY7 Mprs1wzCn8+aztvjcfbwiAIrK6T6J0I4u3oDxVocsVM8lOJIAXutL8eeT4jiXYGMQgp3 WTeY9o3N1NggFt0+spl624B/kXc8iylpt2sVwAC2WLPVa/51WKAVe2IIOjvJjFgoGpp6 SWBr3B2Yxl9KcOZob2HKpmY1tDvNDAptlyMJgnR0J8qEjGYmLW1rUS1RQxrP/WamuI89 1mM6qhrXN7SKM7Vrp2ZVEP21IJpBUnz8leZH+4dCwSFjK1bfuQxjw/dGiz7TDerEaPHR GsvQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YxPyg2Nr; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1720954424; x=1721559224; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=knY4D99gkaJx4Ut/tHtwX71I9JGiN7dVwVq0Jqes/jo=; b=J/QDQ80Qz+wB7esl11c2XUNcKWUTGpI0TRVtCWBKg+6ZZy43Omcl4HzoQPFH7SBzn9 XU2bCZGyC/7/NOGK8BI5Q5x7pMt8kEOn/EMPECOjvzobNNbebdXoOYd6U69ZWllvVc9w Oub+L48DDFDCPsLvsWKWPf+UZJ+j4XpcbTXDc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720954424; x=1721559224; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=knY4D99gkaJx4Ut/tHtwX71I9JGiN7dVwVq0Jqes/jo=; b=kMNoBn/qd7v7rSYu4b8WA4RUq5juIt6fwdghXRGNFvOjnfcsqQmbDVLnJBx/65nDwU 0GXhIZlZZRcL1/2iomam0YM5IomHYFbLU95q4/CSc6u/qs30CCs9bMbpAhxoRPYXpf+/ RJv8immeB+EUdbFphEFQk52Y4jMzY5siccZ7US+3CwBGEDVR4eG67HfobAlydYaArNs7 0btCEkDluY+J3KaL0QLXX3+rPJjuCzOssoJ+9R3rLrn/oZzluALrVOSCVeaZxQ4/Dtfc w70g9YuwhSQ49+vHF8y82mXPe7ArlgPuuA3IjZOO4QEbOz0FEvlPKVWdrIM3lLn6IpN0 Ydzg== X-Forwarded-Encrypted: i=2; AJvYcCXsQWI99BKbl94I2ekt0kMTXWFEdYGOsGwFPlo7wbyVVvb6tRuioSbfzcCIdIPnvhCbKPA1UsaYZWs6JspWam7JooRZ4qTS3rDKDzWr3lpj2MY9ApIIlljP0YEOGA== X-Gm-Message-State: AOJu0YxvBn5PEvRPVfsaRkTfrCAiK8a5MgvokLFr3krzPJsJESssl04P FTjmFEifYuFptvwrIWGFP4DR70Z51JhevF3MtjkBaAabbwNja9ixkAybGcaIG23arWiONs4gMg= = X-Google-Smtp-Source: AGHT+IE2vv9vQ8IItc9z0LoWmuDjkUO2xJ5ujWNGvsutFBTR0OVJhy2SSqigNG5HYai3C/Ki0e+Q/Q== X-Received: by 2002:a50:874a:0:b0:58e:11e:4e19 with SMTP id 4fb4d7f45d1cf-59c1f3379bcmr1066665a12.25.1720954424202; Sun, 14 Jul 2024 03:53:44 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:4310:b0:599:9c73:c392 with SMTP id 4fb4d7f45d1cf-5999c73c484ls1279574a12.2.-pod-prod-04-eu; Sun, 14 Jul 2024 03:53:42 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWdNbgRxbln8ZGWuy3mM2q59cB/GPqhpEsetBooBsVFbzXbPpwXrFlLJr/ylRS3PXKD6ySnx9YExKMpkDdSYvyj72uhjGNHjZQ85kexTCau+3PD X-Received: by 2002:a17:906:c151:b0:a77:d9d5:eb6d with SMTP id a640c23a62f3a-a780b881d7amr1472547666b.61.1720954422427; Sun, 14 Jul 2024 03:53:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720954422; cv=none; d=google.com; s=arc-20160816; b=urD/Mg/ndglEVmNR+tw848Tv5FKHXBDLbEleeTju8yJmFYY5XcgYT9pcDOFcUbR463 Sco9WcRHZaYfFFIvlRAxTCcCmTDvvlZD40qyvIoQrMA9sqWtZZMYjXPd28NkSoCn9jpY XJo93qBNhPoMMeqdwxi6UOmk+af1DUuT3cbjRdnAIvQWhxFdtO2RcCZByGtfBT8vWA84 brIU8zBTlffDPUgswgKjgVovASyi62Cbjns11Wdd+HpV2yP0ZAZHoXKJihVm92cyZZhB s0IIcpzbBwk3mkpLpSvzDktoOSXic43AxECbabVcDtx2ib5kCD289flQ28aRU59YhJ9p J9Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=foWmJWDioSf02GceU1FIQIyZLcR6DFpqNRRaCaq36Ls=; fh=nutiXKQiMO2RvLj9hy0PcdC3l4zdNRnbP/y85ODrJsc=; b=bpfyPDcRotqCAbLS0EOq+uc5LrB/wbq9hJCJ+e4vFB69lzlIprN/vsMkGMspFDZNV3 8BmPZ2lAfYHH0w6zBt0UtqbUigT7lorLJDfcF0iHUERjwAgs4V66zF+bBgxc5jw5eCRF bKY3MHi0/cJK11lbS/7GnzO/XkkgK4fk8NnzpN6X92FTvqfRYDiYHAUCED36TTiwijAV Kh69FccqELhGT44paAyKKLKDKGeC6Y8LnrfOIXTS5Zh7+lj/koeHga4UzFhBq3p+T26K wBDxs0BjnEYanEduyRGWiZtpef2gG+n4/itOHyMvFgxkSQpqIhbzYo04xqYcGaGMAUA/ d2TA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YxPyg2Nr; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-a79bc398ad0sor39370866b.0.2024.07.14.03.53.42 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Sun, 14 Jul 2024 03:53:42 -0700 (PDT) Received-SPF: pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCXK0i/Af5avGJtYzfgYRgz0zzK+uhl/cDBTn8TM/drtta5EPC9KeJxTEvtl2TDCvDP5sQLsqDyUsCaq+PaQf9zJWLaTlfEZWcFNM2psIChn39Q4 X-Received: by 2002:a17:906:97c3:b0:a77:c2ac:947e with SMTP id a640c23a62f3a-a780b881d20mr1110099366b.55.1720954422016; Sun, 14 Jul 2024 03:53:42 -0700 (PDT) Received: from panicking.. (mob-5-91-58-211.net.vodafone.it. [5.91.58.211]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a79bc5a36c7sm119966166b.7.2024.07.14.03.53.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jul 2024 03:53:41 -0700 (PDT) From: Michael Trimarchi <michael@amarulasolutions.com> To: Michael Trimarchi <michael@amarulasolutions.com> Cc: Dario Binacchi <dario.binacchi@amarulasolutions.com>, Patrick Barsanti <patrick.barsanti@amarulasolutions.com>, linux-amarula@amarulasolutions.com Subject: [PATCH 08/25] clk: clk-uclass: Print clk name in clk_enable/clk_disable Date: Sun, 14 Jul 2024 12:53:11 +0200 Message-ID: <20240714105328.35825-8-michael@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240714105328.35825-1-michael@amarulasolutions.com> References: <20240714105328.35825-1-michael@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: michael@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YxPyg2Nr; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c index d768e5ad2e..76f1026164 100644 --- a/drivers/clk/clk-uclass.c +++ b/drivers/clk/clk-uclass.c @@ -630,7 +630,7 @@ int clk_enable(struct clk *clk) struct clk *clkp = NULL; int ret; - debug("%s(clk=%p)\n", __func__, clk); + debug("%s(clk=%p name=%s)\n", __func__, clk, clk->dev->name); if (!clk_valid(clk)) return 0; ops = clk_dev_ops(clk->dev); @@ -691,7 +691,7 @@ int clk_disable(struct clk *clk) struct clk *clkp = NULL; int ret; - debug("%s(clk=%p)\n", __func__, clk); + debug("%s(clk=%p name=%s)\n", __func__, clk, clk->dev->name); if (!clk_valid(clk)) return 0; ops = clk_dev_ops(clk->dev);
Print clk name in clk_enable and clk_disable. Make sense to know what clock get disabled/enabled before a system crash or system hang. Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> --- drivers/clk/clk-uclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)