Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp103607lqm; Tue, 30 Apr 2024 14:24:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUg8aVq0/bmGAFHZ6cp5b74szU8NRvq/qF4M1TjglLi/kMWxb6JO5+bsMQfuhqtVjp0MIvRKAAdxu0bdFlYgXw1HXK1lLFucMJz4UObJw== X-Google-Smtp-Source: AGHT+IG/qv7NEz3dQGZRsRPjxp6vP5rrjivsxcUzFop+94TIPOzv1tEVbH2gUagLC/6AHnZ8gXht X-Received: by 2002:a50:c353:0:b0:570:5bcc:f749 with SMTP id q19-20020a50c353000000b005705bccf749mr347797edb.29.1714512298513; Tue, 30 Apr 2024 14:24:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714512298; cv=pass; d=google.com; s=arc-20160816; b=Qm4pOcjkvBAKIOQcKcMYUwBP/l5+x6Ec5yqPp5pJnBJ+K5qEyJB1iIqwYW6ixsSj15 xKZk/8AbcGxHQPCQPjcsoMqQmM8CSD8NXM8IArPFW04gZZN5eE3a3Z7N3d38beKw/R4v DvbV/93QUKWOysxx15zt8yVMdAwPqgQkZfhUgxbSKoJa5vGEsOinorKoboBMrOxbtVSt tZaCUWeZRRM6z6/0kTW9tZ1xGMFRiz2s7m//7Lr85QQOR37mmjh9HSN1fHOdi8hfV9rI 6a5CQ4tuG2PMavzhIQv+0qkgpHdSrPrH6Vfu++wS0sB68JUNegPvwfsA8UpnPgIl1gDg m7pw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=Nr5PmSGMQPefRC+4B+dUJLySenVFlvsYqWT3rnlD9i8=; fh=WYXEUhiQlMj6nQUL65a8eV2T+/pcPiF84pA71QPgDKM=; b=odbd2F+v+tm7S3RMmo5mcF5KBHwr1dmd6BnQQNfUz90m9B+vlc/EPBMlGmh9ZydOOv dbdeeK710rR8XlmHr2/ZYKh+yllhwlGJSaY8OZbNGsCoh1A58+R2oStH2cmXT4tU8vRU e0eywDhFqiavplgLiNZ1Yuc31wkPpKQRkSq6YcL1Ip2HDmNRo1ih+mSi5g2+zHM+zPrQ nrRyXUSLg9GtSn2w80zxGS9pc9lOIsHhd6MXK8rgEjx7o8Q9SPwdHHKydEjakzXhy8a2 OxzB+5dAUnVgba1x2LIUmC+ZhGuEnadbhh2zJ6MMsFWhlB7+d/1eq9LslBPO1Sa+6v8d 50aw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sUQwX16Y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-164735-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164735-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k2-20020a056402340200b005729de49704si825627edc.219.2024.04.30.14.24.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 14:24:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164735-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sUQwX16Y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-164735-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164735-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 413711F2498C for ; Tue, 30 Apr 2024 21:24:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9087A1BED63; Tue, 30 Apr 2024 21:24:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sUQwX16Y" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0B051A38DC; Tue, 30 Apr 2024 21:24:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714512289; cv=none; b=jcnT5u3luB/+sL0gaiqFIHyb1rgVmvH7yzqUXJS5pqQ8RD0wJugvDVeI3ejLO+6UfXCD1cYtJzOf7c2zoERWK9eK6ntkl6TVdc8epUHnGKsfBUn2quxDGflfz+9D3oVBVOv5rMVcX1M6WqUr84cXlsj6IWHFYpDotvlSNkDQZUU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714512289; c=relaxed/simple; bh=Nr5PmSGMQPefRC+4B+dUJLySenVFlvsYqWT3rnlD9i8=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=GIQENMwlqHh0VIhM3gqHZ1x8gQo0vqfFpzhRop4jQuJnKh4U4WBA2y6upvRqDZEDHU4npV6srdfvcTYb6LdVxAIrS49FWZ0EVFomNQipH6+x8LxF6pgkSPGs2x0NtolZKsQIA85g/ta63w6fUrLq/Eo8x3ncADNe1bObZSY9iDI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sUQwX16Y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39B2BC2BBFC; Tue, 30 Apr 2024 21:24:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714512289; bh=Nr5PmSGMQPefRC+4B+dUJLySenVFlvsYqWT3rnlD9i8=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=sUQwX16YkqFFu05qj/j/D+qicatYaVabFaKbUJbB6OnHMyvYeaq8GQNg350aICltQ MkKVg4GtiNV1ePckPJlfoXEJ8uSIJyOLTcs0xikecc6B995CDIIAjlCHzGz30hcTkc Y3n62y9kdbW88nISGPxlIHVAxXS5lmUfSCdG2+owj/RsVJ544kt+m5v0kNNTEJw7kJ gamW1sQfcndXfXpu09tmlZ9mAnSao+XoathuwvT/vD7Z8fWnyOdOWBAliAv9YrQ2lR 0KvLNgKFuDKne1m+FgU4YPXxA7d2Q95pnmJaGsTP9wuJTCYkG3cI8Fm59ghXPF47st y56l/um3TUS5g== Message-ID: <1ce3c1873130ff696101f781b4df239b.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20240430184656.357805-1-krzysztof.kozlowski@linaro.org> References: <20240430184656.357805-1-krzysztof.kozlowski@linaro.org> Subject: Re: [GIT PULL fixes PATCH] clk: samsung: Revert "clk: Use device_get_match_data()" From: Stephen Boyd Cc: Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar To: Krzysztof Kozlowski , Michael Turquette , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Date: Tue, 30 Apr 2024 14:24:47 -0700 User-Agent: alot/0.10 Quoting Krzysztof Kozlowski (2024-04-30 11:46:56) > From: Marek Szyprowski >=20 > device_get_match_data() function should not be used on the device other > than the one matched to the given driver, because it always returns the > match_data of the matched driver. In case of exynos-clkout driver, the > original code matches the OF IDs on the PARENT device, so replacing it > with of_device_get_match_data() broke the driver. >=20 > This has been already pointed once in commit 2bc5febd05ab ("clk: samsung: > Revert "clk: samsung: exynos-clkout: Use of_device_get_match_data()""). > To avoid further confusion, add a comment about this special case, which > requires direct of_match_device() call to pass custom IDs array. >=20 > This partially reverts commit 409c39ec92a35e3708f5b5798c78eae78512cd71. >=20 > Cc: > Fixes: 409c39ec92a3 ("clk: Use device_get_match_data()") > Signed-off-by: Marek Szyprowski > Link: https://lore.kernel.org/r/20240425075628.838497-1-m.szyprowski@sams= ung.com > Signed-off-by: Krzysztof Kozlowski > --- Applied to clk-fixes