From patchwork Sat Feb 17 10:01:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 20530 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp241032dyc; Sat, 17 Feb 2024 02:02:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWNihtz5UhZPewtj2NGBizxcVpE/tbe/ATYAket/olzB0xUjrYdkeBUdDP2G0+SNk/XTwug+ivGT1MnydjdYr2ckNHUdA== X-Google-Smtp-Source: AGHT+IEwa8/KwNQLH1pWRJ5+hlj2uOous8MlkmrLSmSIAVzRpCGphyJPlMG8lufhsyzKM0gdaJZJ X-Received: by 2002:a0c:e3d3:0:b0:68e:e37d:a38 with SMTP id e19-20020a0ce3d3000000b0068ee37d0a38mr7898947qvl.7.1708164170340; Sat, 17 Feb 2024 02:02:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708164170; cv=pass; d=google.com; s=arc-20160816; b=jfzDsKACgI4H0ZjDkBCHAMFUKuCknKOh/z/9OiwkgGRXVdbyTRkJvKPa03OshR/Cht eeZYWtHVEQFWEieSL9T4ryg59M64tB3NXnhGq9GQ9j7oDZRyzWVPOTQkob9q0IqVEEnz YDJS+xE6FVFnZ04SCm8xrIW4LmZtPTkZsKjbK/MFycMBEaYhC9X5dUlA0aYJyWS0No97 CBKeEj7NiNdrGYssxea01z2sPzNGY7VeNpx2uk/EGBq9C5HDaDemxXFyxHzDfSSiOflt O37Fjcuafr6ACTjyrmwSqCDTLrino3u+tme+sVb7RgcaOA2HZOsLgRPfRMAvZ0BDR3yd WziQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=eWhILoutvxlGO3LjyfOJc3gSpbG+WRABt+VCrcq4VDw=; fh=mbg83d8nBWZiQZg0U0QrqTxUAV3KrwkVdgQOPJ/Oqig=; b=ScNJ2psOnjjqiAAgqkzDNK1tVKYBJox/nQ4SEKG6P/BgrsqY9snE3sxpVeMWl0Ka6Z GwnkdT2XmHSmA3YFaNweKV+FY9Zv9Ipkv3LTm8HXQfQgzFL3ZrvTZVmB8X1TsU5q2s7V ni8l0pX2dQT5PBlhwfoRi3Ur020H9lPZWV5NfSoNtyPHYDv2YIO3A7mLI7Z1fYMB8HOJ ieVKbjgV163ZKZZRTF/pym5vc0itjz4J3OErKWbcFrumR6A1FkH+4C8PEClmnkpPpyt/ A5+9uT6Zfqygg9SHly4cS09JrRjfBCoQAgjbltaBs72ak+9OVbz5+WU8v0piCnjj/J5j Wp4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20230601 header.b=NvHKSIex; arc=pass (i=1 spf=pass spfdomain=googlemail.com dkim=pass dkdomain=googlemail.com dmarc=pass fromdomain=googlemail.com); spf=pass (google.com: domain of linux-kernel+bounces-69782-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69782-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t13-20020a0562140c6d00b0068cc2604333si1709457qvj.314.2024.02.17.02.02.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 02:02:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69782-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20230601 header.b=NvHKSIex; arc=pass (i=1 spf=pass spfdomain=googlemail.com dkim=pass dkdomain=googlemail.com dmarc=pass fromdomain=googlemail.com); spf=pass (google.com: domain of linux-kernel+bounces-69782-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69782-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 15BA51C210D0 for ; Sat, 17 Feb 2024 10:02:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 87ECA1EA90; Sat, 17 Feb 2024 10:02:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b="NvHKSIex" Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E77D149E06; Sat, 17 Feb 2024 10:02:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708164140; cv=none; b=EwZgrY8k6UqWySZqLNGP0G6c+yqGqhd5Ois7fD9D5fkI3zX0xqN2wwWU5LGHCgUeVX1ArV3xtiiVgqvIOdU8n62a8UENrrE3t+7QCfvlHENL0VFmZoZp8Esp7fmTuguriXQ5GaG9RJaoZn7aOSfgyR88JmRdE/hI9yj/FvBXYnw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708164140; c=relaxed/simple; bh=0JXzzlenC/WtCeYWanwZDCp1favaFop7UuuJyfLWbNY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PAiSxCwZrfhFE/As2fQE/xegjxZXAe3svI9fFVc6fNSQR0Wf6pJuMf55evR76Ryket26s1FnLmJlKdmnr2Lw/o+K5PlhwhQcW4v0uLEeqDRjQ/GOPdVLmwk8u506EvzdtwAvdAAYK3QSA8j1E57UqrUkFZEtwal2npqtE9Kh8pY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com; spf=pass smtp.mailfrom=googlemail.com; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b=NvHKSIex; arc=none smtp.client-ip=209.85.218.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=googlemail.com Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a3c2efff32aso332505066b.0; Sat, 17 Feb 2024 02:02:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1708164133; x=1708768933; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=eWhILoutvxlGO3LjyfOJc3gSpbG+WRABt+VCrcq4VDw=; b=NvHKSIexMsG6NsdbfdH/5laLNPVZDFkNc/rJiEk65Vt2M8B6fUuLukKlYWx2qpmPt+ 8i1Bu2G/ye/fmGNv4XHOI3HhrLBVYeIT5LWXjQHfY3VQ8l8evReZoC34v8g5XklVKk1a bb9X73gnDrwGmkfFFljw3LlJbMdUMjpqy/AF0s2ftbnjaLS/LE1IyN9rvKGkA/C7CImt 8hVokAb0aFZGyUmoc/yZAPeDGbnnpMQnQVPZgArzcegnqNSdmiKDUV7pOB4W2pOWCBf3 5jPll9zQQnAnD5uziA0kzOWjLobB1XhopgwcIglw8/kqxVf5uxGCifhEuGNyI6yfnpbF zFEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708164133; x=1708768933; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eWhILoutvxlGO3LjyfOJc3gSpbG+WRABt+VCrcq4VDw=; b=Ev16DfJVrGFG4Rm22X4dzXn5KB6MvY6BNbGRzTrU7durTOrYDTB1LRw5be4li+6FIJ GH9GdEaR/RclNO9xhSbkum+B8nAQIIbhERfQwE8qYCps+uZHQjvDB0PvVyFHIj4RESR2 2Xs0+MxecXx/ucVvuGTiri7gIQQBG0IqP2IfC0bom4SeeokB5thqoj2pzUchysgqT+kF pzdrtKF4O4g6LRCkH7Sfurw+Meha+YSQsHvcwlnhrLU6dIVzN1HW5VsrTyUhTE8Uaojb VQTz19e5pgsEm5aYazpRuaOuk7G2RhbTe4OxY4kAHNTgMaVYJtkNqahdcmi2Zo8POc6M gPvA== X-Forwarded-Encrypted: i=1; AJvYcCUw17FMrPMNL9P3RIJVtH10YZSG8t3ZLRYfLcSAyYc986fjpspC3zp8K7NDtJO28SAXsUtmP2wqv2/2agYLmGHGoQi1sayUuYYfcqMO5Q3nlNpaY3z38YuF/SttWPXRGLEeR0iCVYOJ X-Gm-Message-State: AOJu0YwE6dkKSgcXKyvfrgE7xp/jPRBuJNaJRCxg6AEvLfp+geLTTvxP NFaXP3k3fP1OIc7Rng0HzCkdEiUFRjgiLYmPqUWzd/lolKtW6/a8fJh1gT0l X-Received: by 2002:a17:906:79a:b0:a3e:39a6:d39a with SMTP id l26-20020a170906079a00b00a3e39a6d39amr329817ejc.39.1708164132597; Sat, 17 Feb 2024 02:02:12 -0800 (PST) Received: from localhost.localdomain (dynamic-2a01-0c23-c18b-3d00-0000-0000-0000-0e63.c23.pool.telefonica.de. [2a01:c23:c18b:3d00::e63]) by smtp.googlemail.com with ESMTPSA id vu2-20020a170907a64200b00a3d2e690abfsm832444ejc.122.2024.02.17.02.02.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 02:02:12 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, linux-mmc@vger.kernel.org, ulf.hansson@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Blumenstingl Subject: [PATCH v1 0/2] mmc: meson-mx-sdhc: two small cleanups Date: Sat, 17 Feb 2024 11:01:58 +0100 Message-ID: <20240217100200.1494980-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.43.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791139953324257374 X-GMAIL-MSGID: 1791139953324257374 Hello Ulf, here are two small cleanups for the meson-mx-sdhc driver. The first one is resolves a TODO comment from when the driver was originally introduced where devm_clk_hw_get_clk() was not available yet. Nowadays it is and we can and should use it. The second one removes an incorrect .card_hw_reset callback from the driver's mmc_host_ops. This part has never been correct as we're resetting the host controller, not the card. It didn't seem to cause any issues so far, which is why I don't think that it's -stable material. Martin Blumenstingl (2): mmc: meson-mx-sdhc: Use devm_clk_hw_get_clk() for clock retrieval mmc: meson-mx-sdhc: Remove .card_hw_reset callback drivers/mmc/host/meson-mx-sdhc-clkc.c | 43 ++++++++++++++------------- drivers/mmc/host/meson-mx-sdhc-mmc.c | 13 ++++---- 2 files changed, 28 insertions(+), 28 deletions(-)