Message ID | 20240714113302.133399-8-michael@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCXK73FY3AFRB7HOZ22AMGQE6S5MIRY@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 7717040F88 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 14 Jul 2024 13:33:16 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-58bd8406816sf3378076a12.0 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 14 Jul 2024 04:33:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720956796; cv=pass; d=google.com; s=arc-20160816; b=LADqxAHspq6zFBi+LAQEYYQt65bqVQ94Es4zqlclmxIbjLOYMaAgkYr4Fb8Y8c0tc+ khsr+Zz94YfZzVNaLiUUNXjOiNKmfDjiXOesF5s4PnMaYdrvXpAaM7IQOgjycAi5aYzg oMI5cHQBAJzOhdFnyhJPxRkhY/CwMt+8w4WP/vd1vAOJJHkwEHks0g5j1tTxPaDhUWaR tj8pHuXR9ICdXJq2Jo8KYS64T4JrQurCt/GSaRK02yT53mSo1pYxES5ARNLvtdcmd9kn m7aMw+XJRg0thbIimE9lFEyKwdbepaejLKdudNYcG+iRuy/ANeJws3RJiRYXGMcpo+KG FzyA== 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=IPV1Q8Jt5jKCBPk1OPx3CmE1KLr2FyoNkTec/WSma1s=; b=pl2GeruLTVDNkbcRo5Km/gYswkYc+rGef2BkOgWzouZAqtnz07rMey4tHRBmLOLecc ye4DbSCdQKj86CnQBjSW486vSpbVc9/8Mct4IcVhNSUWXqF63R6xVMBjqstZJkO4A4VO aPVZHmvpjAFXXPiivzP4TRVj5LVQXHYD9nlycNI9cr2XflY7u5pwbBa6HMoKXuub5JpJ 8sfh2dTJaFeX5sNrpSdztnAfUhrAIUHu2GAb5e5YMuZqlUaHAQ9LEZOd4xAPS9MFo41J XmYJwPG+4phZ0B9MtNcm+bVW6Zk24iaWgYVSD8k1xBbeAPHBPPdVRcDBA1tR1A7Jb2zM v1Rg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=d32QXp2g; 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=1720956796; x=1721561596; 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=ILsGLdq0cpPoSO3xbdNdiD5iInN/FPQ8XTksXoREWmPIaniKxaXE95msgv6Y7tyx/l euy9FHcFUyQf/0TZF8DKTv4lewDaqlswrGb83ULzHdiBQdtuyhka49hvpbSDmPU23NNM 3cfXELhC1Q41XhFgsQ8h3f40QEXykiVEdU7Tg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720956796; x=1721561596; 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=eGr4/Gs0aBRFwZnBodDnAe1/xqi9xW2W6Y+laG6LYcp8ZnsYuIHvL7pHvq3k9YEfZu xP6tNpkoCt7zyV7qur3VSG8GQOON0G0fpj14eeYO3bncpdOldMk3+5lMSd/cgH+4KIF5 ShAgMKcF4V+E6wRN0bJRNJP1f+NR1s72JSnh5GMrBQLzYWzVqHfw5V/0l1CIERuB5IOA PxsJwwinaRVyjDBsDpIOOqPAjeiVGA5/7K4nIUqOKJ1JrkzS2eL4aleHNhoArTgSCCrw JOHAN0jcUMtKWy9/aj/qTJMYoSh12Fi65VmMfdhlI6C6kA/bg+gjQxkTXK1LYRE7c2aY cFWw== X-Forwarded-Encrypted: i=2; AJvYcCXA40u36nbXbvRSiZw2UhRlGuOHY11rfD8p1R1rO/zYMWI0agBSv8OC8O8preslqDixjrmOGAvxti8R+nNjyRCMXkps1Ho0/6FH9SwKfLXpfXjX4sBiSvEdYOTO/Q== X-Gm-Message-State: AOJu0Yyy9LwYWE0tvJlm4fLOx+emWsKQHs991S6A/q6aaN0RJcADkwzO lwr8pr8v9tpotvH1mEDSTpLQ49udh56r53bx3bxM1H9pcm/RrKVlkubyAG2TxtIcUw== X-Google-Smtp-Source: AGHT+IGaj9Jbs6TwYI66LE0DZeO5l4dWKWK22YZm+tnE8ja6egJH6r7JTuWMbAhZ1uc/8132wJW1Hg== X-Received: by 2002:a05:6402:84d:b0:57d:12c3:eca6 with SMTP id 4fb4d7f45d1cf-594ba0ced20mr9689128a12.18.1720956796153; Sun, 14 Jul 2024 04:33:16 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:42d0:b0:599:5a33:7abc with SMTP id 4fb4d7f45d1cf-5995a337c06ls1203859a12.2.-pod-prod-01-eu; Sun, 14 Jul 2024 04:33:14 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVEawbRtmuX6xiPRa1va3WWSGqY+eB4rMbrMlwCSJS4kYyWn1wpQP8VoMDgSFJX6G5kyD4sgNq7KvekoO+tKcEDKDwIL/6aiqaRuzFwQjZLXyPk X-Received: by 2002:aa7:c507:0:b0:586:2fdf:f827 with SMTP id 4fb4d7f45d1cf-594bb86a504mr8938052a12.31.1720956794307; Sun, 14 Jul 2024 04:33:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720956794; cv=none; d=google.com; s=arc-20160816; b=tXONtw3famVSt0fgOmypNL24aC4uduHaee86TadiD6+lrC/xzc94qsdzGf0/Nf0gD/ lHVhd1JZ2flfX3mO/uIvA2zWcLt3fs41L1RP79T9CC3Ml/8BkmE7zKxabwXfV12oZHGS ma3+kbxqnnAgjdly6ONhJPQ16PPafqlX+G16OwrjSqltEpn/U6exJXuCVYta2TTi2yaJ fIBDnhTBw6lwbEMl2ndp0M9E54igRF1kpawxfsQ9xFJ+QAHoe8BBhSTGYLUVwmS3zStG CugAz7BsjFgNBeEq7FWB2NHpHFoWsW9dQEDki5T9IUDVRjAYmObn2jd3Oz5x4Va1v0HW iNcA== 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=wXgRloJXUBes2/3auLabLhqI99CBV135brwRxbUN+/E=; b=gdh3eTXn8mLa07LxW2Eh2wxODIJkAmca+o8FEaXofUelvwPsjBtyC2f3PLeE1jJGQd 7aXiYYZn/4JX8PigTa3WJg13C7m/8HhraS6t3gEw+oXnw0xGXn6JG8X0QhZUvpYRQkxS mjw9SPS1LPtxV9tF+6lsYBVSm+g+nqd4BUFlO+LmTVPBaoMJJQ+Hd7TmxOYDyQEOeZdL qT870t9KWww+KUF6CVQ0XORIaPohp0ql3Ff12ICtXVzu8QG3L1b27sCkl22WnUZ2BuIk AQdw8N/ZqSrXijBcbpmyYPjyNCWb6P+XGteQVSuEZXZ+x4vsTyS1Hdjs5YAEzIzvku7k ieHw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=d32QXp2g; 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 4fb4d7f45d1cf-59b223b28a9sor459585a12.0.2024.07.14.04.33.14 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Sun, 14 Jul 2024 04:33:14 -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; AJvYcCXbXPFO7EdZxrblWbpDfSdWj9ciWJ+PY+WDUTIUGACebiOBFMEhbIFUWSoeYU9fiwWJyvt5Or+Dl6sN4HQqsWJdu+qeuceX/dBh/Vjn+l/2nwzP X-Received: by 2002:a05:6402:234b:b0:58c:909f:3d46 with SMTP id 4fb4d7f45d1cf-594ba0cbe63mr13344929a12.10.1720956793015; Sun, 14 Jul 2024 04:33:13 -0700 (PDT) Received: from panicking.. (mob-5-91-58-211.net.vodafone.it. [5.91.58.211]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-59b25528dc1sm1929469a12.52.2024.07.14.04.33.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jul 2024 04:33:12 -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 13:32:45 +0200 Message-ID: <20240714113302.133399-8-michael@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240714113302.133399-1-michael@amarulasolutions.com> References: <20240714113302.133399-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=d32QXp2g; 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(-)