Message ID | 20240709062813.112698-1-michael@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCXK73FY3AFRBBVRWO2AMGQELUPPVQQ@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1BDDA3F15B for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 9 Jul 2024 08:28:23 +0200 (CEST) Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2ee90339092sf56230081fa.1 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 08 Jul 2024 23:28:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720506502; cv=pass; d=google.com; s=arc-20160816; b=ZmPFN/dGtQ9ZcszJmPJW8YBszJpgOCs+4PBYgHSS2zG4KigElrMUNsBHVTOj1ab8Vo dERuP9Dn4BPhytKzX4a480jFMXfVY5EaiGqWJCTsHBHGrEYNJv6hheIbe0fQo64CSe9E xhFfMSUfjhIgm0QhZIw8e/oOkH0IpjS90DGyOpdOkUQoT/aWndEyGzoPPrexb8u+Mlfo N48NdY8CSHN0ol0FC3vWjvuHIRDs0A0JEuhoVgDigVBvLIdfBGUXdVqGV9lqtwuJ83la PnA7auOUkVN0jFkXEhks9SSlFZBOwkELx018IAfUYTSTL7wPQXnKQkHDy3YdymFVXoMr NK7A== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=knY4D99gkaJx4Ut/tHtwX71I9JGiN7dVwVq0Jqes/jo=; fh=QyPXRb32oark1kV2idErAh1aAexzNIiJGyRQEQRMBKA=; b=X5JYH3TIZc/5h0eAeqR+TeVLvD9rXUJ/w2pLXx0AZXILv6VTXU8+Jb+FbF/fPIaezO IRYlMwi70jlGdghwwFyDk+5KlCYHrMwRvLgubGmMF7Z/8L9xD3YU2nkMpcxQj8SyM+VD +heCuUZJ1Z0Jnvzwoq4AMbFojWdT+vqK8vRZK2IGrrQGpmuyunptGTETvYyV+LnKgUBd XM05nZKgX8/iYp6mwc8TCyogAbVlj0KhcIgE2khmrNFe30zmPCo0AbH7Tusd9FiZ6EBE mxcPzA5BT3PyEwj3FMys4rIMu/u4RGfrIyT9JiQg+8dLyddly8lGDeLMpJNnGG7fWKXi ycbw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XMJB2HTB; 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=1720506502; x=1721111302; 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:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=knY4D99gkaJx4Ut/tHtwX71I9JGiN7dVwVq0Jqes/jo=; b=SVIR6gxxX9kMCmUqnu8V1A2fuAbosmlOcMsE585y1sMGcdDeiAPGt6y13hiaITA94f vxsRDU+P/w6SzH0ol2Zle0K6gZyN1quvwVuno4wdcDXFD9wPaIfHyew17a3lwxbC2Uj7 WL4D2ecYVca7oRofjpmYF3ZeiKx5oP53dxkAM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720506502; x=1721111302; 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 :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=t9OjmQVNtBL3mvyUzITTR5SNHojN156Zahra6fZPKzLg9ZGlwCKct9QoSVZ9YwTMLd jtOCiJMU91200kwjB2BedCyPWR23t4KOVz1LK2/GDHh34LHhjgeVvfoMTsWX4Ttlp1jF /svOY3MQuUnrWNfssVH4KstSnEFNFJ5kmAXacEjzUrMUQgmOBM4b5mVApIqJDJnOMlvW NhBBu0jbuAsILCRhvn5rHqTH0jKAOJlfW+ubrLGLOwQkHmlwAmrLzTrcfDEPxt0gxm3F MUXvHARhCvtmPz+Qfjb9cqTFZM5Qpiz3Xco/Ef0hYTe390nBS50i/049jbUPhZcKh3ae m0AQ== X-Forwarded-Encrypted: i=2; AJvYcCUvBguLA/ENDaFZq7OBaIEVoyMJ8UmLVGLvmIVu8JkxSVbaqlR14ZVFtSJ3VhX+DdkFi1oPdiP3XTvwWT15PMClYeCy0h6mHSEM9hf8asSCCcO+c9NB0kF4+dLG3w== X-Gm-Message-State: AOJu0Yz0/CnoYFSmQcpWTg2OR5y3wI0xUgRHu+D/Jg4K8xndZHbAci7k ZaJsh58gzinigiJwqkgMEsiCEudsE008/5G9dp8secVGQZ3pyU6T8KsRBzX3aaZ7sw== X-Google-Smtp-Source: AGHT+IFHGO7e2r6486aONzVvR/uOH1Uef9gla/GfqClMU3KrsYQP0e+SyNx0bpEaWRvR9ThuPw0jkg== X-Received: by 2002:a2e:3c16:0:b0:2ec:4d48:75f3 with SMTP id 38308e7fff4ca-2eeb3198617mr9360401fa.45.1720506502363; Mon, 08 Jul 2024 23:28:22 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a2e:b74b:0:b0:2ec:5504:285e with SMTP id 38308e7fff4ca-2ee8cde00cbls3284811fa.2.-pod-prod-04-eu; Mon, 08 Jul 2024 23:28:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWEw5F3Cln/NTMGmontN0auoh34uxufEcZmlSsIBQPSrfHo4EWaXOr9bBAAjte4+fCmfOND55veZICN7wmpOJuAr5YFLYfQi9d/qX7/a1ksR9ON X-Received: by 2002:a2e:3608:0:b0:2ec:4428:b6fd with SMTP id 38308e7fff4ca-2eeb30ba12dmr9987241fa.9.1720506500353; Mon, 08 Jul 2024 23:28:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720506500; cv=none; d=google.com; s=arc-20160816; b=K4cd3sEnODeoqzPV1+b6IwZS5x12YyBPyejcUhc0HA46/LoK495dwTIZwmbe+ZR/iu vDXc0nWCdX5MwR0+GY7zAEG5rxKsvcLkbvtIp4ZwOUugpOlx8kVZpewR+Lz+TwNbjBMh IjdpD0MZJIb4e2DsERfl2o6zd8T6/YZtN0l5iwHja33XRN80Ty8r6irDQPtogjzxy8Dv ulBkYJ0KRgCA1Ho6A5O+/2gEQxEpNLp4T4p6K5iTNdHjukgl+Hr4T0iGOxp+JMCQ89sN KLgSnKCDlj2agcl3mpT5CIAhyebN1z8XThNO0PFLxcF/Bgyeary0Fz+gB81HofZ9YFsn UxsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=foWmJWDioSf02GceU1FIQIyZLcR6DFpqNRRaCaq36Ls=; fh=1Zj26mE0imy6SUXAd5fs896AKEYiwf7P45Cx4rZsrl0=; b=UAqyq4wQ9ThcLtwcn8vB88+RFp3/hCyYDEzkzjmjCl4hKrDLx7PbxdeBdu0kL/+7xu 8ZoXoZQ5LUxCm6owPtR47Rsj4ElIwcK76N8RCcMhcE9oEtg3m8dFtke9kK1Ya1SiwpN+ UFhofDjdF+M6+DHwSaW26T6OuRJXu8eM7tmnKJdAS7OHOt+m/CV6czYauMwOPztj4yy5 3txX/blWuA0ZIDsQTGeSlEhLIf2YXrjX7MLoYBkHUKv+6rNcryaGMUFd7d/qr5pAO22I cBN/95zAyvkXBF/JAS8oCVPAa+wvtFkYDVALzIndbDo7C0Mmy/XXQdPqrFEyuzctCfly N16A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XMJB2HTB; 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 38308e7fff4ca-2eeb34a1417sor2484331fa.10.2024.07.08.23.28.20 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Mon, 08 Jul 2024 23:28:20 -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; AJvYcCXbxt0l/f/NTqiKaW/Qnq77MAuy5zFzUC312pN0VvkYecT4dUajPmLbokmtDcsiiU91/vDo4Exitth96eYjL58aC3v8TTdozvuGBOS4PWROydNg X-Received: by 2002:a2e:b6d4:0:b0:2ee:8d07:3d64 with SMTP id 38308e7fff4ca-2eeb318aab5mr9775161fa.41.1720506499635; Mon, 08 Jul 2024 23:28:19 -0700 (PDT) Received: from panicking.amarulasolutions.com (93-35-128-17.ip55.fastwebnet.it. [93.35.128.17]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-594bbe2cf6bsm683547a12.34.2024.07.08.23.28.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jul 2024 23:28:19 -0700 (PDT) From: Michael Trimarchi <michael@amarulasolutions.com> To: Fabio Estevam <festevam@gmail.com>, Lukasz Majewski <lukma@denx.de>, Sean Anderson <seanga2@gmail.com> Cc: Tom Rini <trini@konsulko.com>, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Michael Trimarchi <michael@amarulasolutions.com> Subject: [PATCH] clk: clk-uclass: Print clk name in clk_enable/clk_disable Date: Tue, 9 Jul 2024 08:28:13 +0200 Message-ID: <20240709062813.112698-1-michael@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 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=XMJB2HTB; 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(-)