From patchwork Tue Jul 2 10:26:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Trimarchi X-Patchwork-Id: 3147 Return-Path: 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 3558D41733 for ; Tue, 2 Jul 2024 12:26:28 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-57d16b230ebsf933236a12.1 for ; Tue, 02 Jul 2024 03:26:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1719915988; cv=pass; d=google.com; s=arc-20160816; b=vD0LUOTxrvdkUF/KAWDMeBgH/MxaZRMVfRrwsXTmSh0lKuA2Dv0mf5oViwaE+0Az99 A8LQzatLjtbDyavoNwizsgGsz0xZau72UNjxGlYJLLib1qVXzjv+g4dzdQE2MGPjsMAY Or88HioXEl8aw/rYjShMugJgpMR5zGy/ZMXDzWKITWxlbvXZFruD7rkzWi5gbAFrdvlr JQlJZIy/mAmy8Wg3dD57WUL7mxUJ1CT/x6+ROCaXlDgZu9cXwRObJCLpRGOStG+IFDV7 1+hDlkMUDCtFKkAuDTltD9YskCInwg3sEhCbfCLcIvBewP+p92009ZW18mSXokf/ARSr xMOg== 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=2DI7BjXgYJjLwZxKAENu03lTNc+49bUmaudrvMgcGak=; fh=gyG5CBiVCBojr+7Urmo034ZQEQBLXFaw+4HTxQXL33U=; b=i24mD1w9q2+nlUcfrL4ctKs5jV4bo3IM3mNKX4n5DteaKD3C7nGBAscy2rNz7UDQZv T2qG8liWYwcnJ1RC47c5ah232x6g3y8BaVy1eBJI3IhUfrQCRxY9fufZ82XJgpyPTRpW J//Ko5z0GAq5j7Jk3qF8jMI4/M9YnykIE2nVGi2q3OBVqJjDPxB4T4tfX1iOM9atoBQ/ jy+bf3z9NuQAC/bqY9HTK0/rIr+0c1RWrpZfLT0ojeGxlRFg7d+9XLQ/VzB+mfgW4Odp V1TtjbSZxxuaTTslglvQbVJBRmYQnOaOmowdBWpVt7MMC2wybxvVTBqoX+WuSKKk3NVu TZFw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bQUE5b6l; 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=1719915988; x=1720520788; 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=2DI7BjXgYJjLwZxKAENu03lTNc+49bUmaudrvMgcGak=; b=PybwtlqIj4nTGIyRX5Hw5Z6vn4AfUm+l+kdNlWWK7xtA2mbQjf/EfMMBuJXsv67Qsn J52jdGiIU7pLkMSA6y0jbqgANSvGheNJfyIRTZV9V+IUSEkykVCuPFqr6PFRJ/Z8jUG8 IajIS8d7rpIJz3b/KMnygrLZzqIvqeIzQ0lEQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719915988; x=1720520788; 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=2DI7BjXgYJjLwZxKAENu03lTNc+49bUmaudrvMgcGak=; b=vhXfeKCOX/5Pexw2OxmfRR5i7DKE7JC9YDXnwRN0MU+Hnp8WZV0xiHzW3AvlieUqUy HlsBajiN0/feuZ25g199hwze60EIr98h6FZivwQge7SGO3jBUP3plk8pYgGEpB9KCENk 7LOEI0diR1Dx93Ohzhi7TKYA7mxshVlsE27XeNdVv4wkyrGqnfm/wgYl+rVdWm3HJY2Z DQqKTmCi80dk2B6HBeGUsC+YR+kL6M8wEr5ZmcTz6CDVUVxK2qYDp45hMMXlBWfqS2Oc MY2m2Jk8xjwqtclNt0Aur6XhT/WS9dzpiavYmkyoiUOpqmoljANzRqlr48DMu8lMmRrx FIxw== X-Forwarded-Encrypted: i=2; AJvYcCXGSynL/OKGL6SKJAMUWWRsdlGp0nQYrtbvTmcqvVaqjVkR+n4nIjuczsIl4+vhQlwn7TjZUM+ylpa92i7zvU1Qd4gO3XR6hgKLrVgVR8M0pfSS/4BYwXF6fU0SyQ== X-Gm-Message-State: AOJu0YxzVYVG8lTjMK1aeCUzDBqasUEgKZAodlG/+ppNyACxeV2FRgWY bx5BpVqavIsktDcf0bD1fL1ydt59xd2F8v9QftXUzKGOh7ASRnaJFvNC/zGT+xMTAg== X-Google-Smtp-Source: AGHT+IHgyNNV1LD/dBFPX0TriCTNz0+tXfetfxCXBTjbwvWQ26+M9Zck8pjt7j0HVC4904RJHF+pxQ== X-Received: by 2002:a05:6402:6d2:b0:58b:73f4:2ed with SMTP id 4fb4d7f45d1cf-58b73f40375mr735150a12.35.1719915987752; Tue, 02 Jul 2024 03:26:27 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:164c:b0:58b:4780:bb2f with SMTP id 4fb4d7f45d1cf-58b4780bb72ls408373a12.2.-pod-prod-02-eu; Tue, 02 Jul 2024 03:26:26 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWbuwQVNDxLIRikeetGuZyuHDiEX7JHsmFahwF97OY2YJt1BEbcMsuiEhyjz23F++tqdwK3iFhNrYs5y7w+dIdrLSNrYX+LjNck/OUOTCiHnmPX X-Received: by 2002:a17:906:17d9:b0:a6f:e2a3:cd0 with SMTP id a640c23a62f3a-a75144023fbmr544486766b.9.1719915984950; Tue, 02 Jul 2024 03:26:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719915984; cv=none; d=google.com; s=arc-20160816; b=iiMmwbBjqY2KS1fdfuQvCqztQuYeKYG9E0I/D9Y4CD+eVPVzKaFRZW+zc7zOor2pxc Hw9Vu7SP3sRX9kTMzrzoRZnFlwz8ZSZrbmQ6X8+PgLRKuFKelzfr1HjAr6iSEYtcmVSv lIrR/oj3ZSjNMv7w81VLtHMIxBie1Y1b3coQxJRbDVc+CFx/SWneB5hE2FgpYAR/j6IT OMiIrfEt+jizsUTeBrXzDY9pcleh1cs3T5/Ybp0faxMcyHAoRXg9rlF5CaaWjlEZji7+ lyvuv7AFfFdjT+onFsV+dT8g+cEZhKrmnQTC94g8KKdRRT24udH+zyeToaQr4LoKlq6C j/Mw== 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=pKSz/MAwZqiSx2IVYz9XZH7IHjTJaNMEgXrm4Jts/4E=; fh=U2gikLsVkNj1IHEqwZSi/B//woftYp43UC3axZSCYHI=; b=o+SW1CZPm3HZKDNPOHrQjor8hxZyJ69/QXkKqBeWaxxm7AJsq233jceOacOKuBNmft mIT8b6EFmbphB1rcqIJRZla14dvJLsG0BGzZ+cdYWgAnQCKpkGbdXa1uQo2209cSiwMe +PWSYx5WtaNhzbCmyJ/GoaxItqJts3ip110QRpvsJo88YdYSJKdS363pAFkYEY/zOPIq DaE/TNuhe8RVL/3xw/2Uo46yKudk3e41vRObXppHqnDnIMA1XJ29RK441ZyMeXmV7tfy s5hWreBUzULFLXqg/2ns0fPLCVaR/Zd5uq51/gNbclxTh6sqww2Fe1R2O1hfPqmKAQ+R cRcg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bQUE5b6l; 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-a7315b7876esor195134666b.18.2024.07.02.03.26.24 for (Google Transport Security); Tue, 02 Jul 2024 03:26:24 -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; AJvYcCWYDCY+VKX5QROM60MAZRDVbfHlvB+lASqlszeMhzrBqr1aO2Q3V9E6jyD3AXiOsoR5c2MpQyYSvhSnDWvTRXkQOYiDYNlVzSWyKDUFODf+1cpX X-Received: by 2002:a17:906:c152:b0:a6f:57f1:cebb with SMTP id a640c23a62f3a-a75144857acmr728893166b.50.1719915984429; Tue, 02 Jul 2024 03:26:24 -0700 (PDT) Received: from panicking.. ([2001:b07:6474:ebbf:8e6e:944f:275e:2a97]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a72ae84b3d8sm391253066b.121.2024.07.02.03.26.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jul 2024 03:26:24 -0700 (PDT) From: Michael Trimarchi To: Lukasz Majewski , Sean Anderson Cc: Tom Rini , linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Dario Binacchi , Michael Trimarchi Subject: [PATCH 2/2] clk: imx: Fix wrong flags assignment clk-composite-93 Date: Tue, 2 Jul 2024 12:26:18 +0200 Message-ID: <20240702102618.466652-2-michael@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240702102618.466652-1-michael@amarulasolutions.com> References: <20240702102618.466652-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=bQUE5b6l; 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: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The mux flags (u8), div flags (u8), and gate flags (u8) are not the clk flags (unsigned long). They have different meanings Signed-off-by: Michael Trimarchi --- drivers/clk/imx/clk-composite-93.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/imx/clk-composite-93.c b/drivers/clk/imx/clk-composite-93.c index 6d71c0c03ff..34026c5e42f 100644 --- a/drivers/clk/imx/clk-composite-93.c +++ b/drivers/clk/imx/clk-composite-93.c @@ -103,7 +103,6 @@ struct clk *imx93_clk_composite_flags(const char *name, mux->mask = CCM_MUX_MASK; mux->num_parents = num_parents; mux->parent_names = parent_names; - mux->flags = flags; div = kzalloc(sizeof(*div), GFP_KERNEL); if (!div) @@ -120,7 +119,6 @@ struct clk *imx93_clk_composite_flags(const char *name, gate->reg = reg; gate->bit_idx = CCM_OFF_SHIFT; - gate->flags = flags; clk = clk_register_composite(NULL, name, parent_names, num_parents,