Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3207545lqp; Tue, 26 Mar 2024 02:46:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU+Hwq9sEDRkdLQ36R7KYmuHQsV10aKvAoie5NXdyhebJr8o5ReQmAGpOT6yuhrqez81o8RRmCtZDjI3ydUtIrrUQJOYSEjxUe/+Bvh2g== X-Google-Smtp-Source: AGHT+IGSroU92q5tD+SLrKB9z4bDC9gHi/Bt8XvGsW5oQDDefDHTQs3jzHij9XjM5WRmG0d06hoM X-Received: by 2002:a17:906:a94d:b0:a46:36ee:cfac with SMTP id hh13-20020a170906a94d00b00a4636eecfacmr6235294ejb.77.1711446411478; Tue, 26 Mar 2024 02:46:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711446411; cv=pass; d=google.com; s=arc-20160816; b=J0Uz4oyOBnJIKB4l2bQEkqjO9hk/B8vRp1PaKqIDIXfq0zIev+AtqDbIcJkgXF/QfV JRWdXkWvEIn61OCoy11UowQ8dR+TFPm2JcnZ6VhMDF2WCKDnisFpyd69ZBkDYIM2Ww1M lnY742Vo6EuqucYoeIjVP3P+DpcrI98HslwMSJTZwUkf93fS0G6rX3iVuauKCqPOrFwv gqL7ulpB90CH7tZ4dsx6MrjcCHn+QjJjnVTXKdlTwkLU0ImSOsmhbaE7/qnZSjAjD/ZA 0rPliIMnGHrvmQzpU/J3Lid0x+6FgjobauRdPgSGitiZX56Sv4O/ojOYp4ZZgcY8VjW3 kDuw== 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:references:in-reply-to:message-id :date:subject:cc:to:from; bh=zj11RGxPlBhMTpnysw0TFiK9KUZEO7v9U4wZ3roy158=; fh=WUfIX+0D5tUGCdFsNYewhQE4f3QeIM9aHYCaIY4mRWY=; b=jr1LcxYU1gI0jjqcYx/cqvfvBehOgu7xoUIA7o7ZbV6DryRSIPkLQ5v3CEb+O4MlGv h3sg+3AJRqEkUftm3t4OBLmK11vppwXTDGf6eIC53bme6sUfcRZS8TL6zqsDhXbA5hpC 4jL50ZON9OVnDNKbcp+xsOx/+eS0ZQHuRRsIsSfJiiaGCznFSDa27Vl2KwSuQhzr1RfN /1jD3alpgzaRzCJJallQIz3VkexdJqj6HOowegIx7SZcwJGAB8m3Y/uBZgnlyVQA50Ca B926A0CScTrwKYfobPUNORqKPC5i111bATJAyyOK5Txtg+dIjBrpdCT4fM451W2kq+FC 0kTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-118703-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118703-linux.lists.archive=gmail.com@vger.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 e2-20020a170906314200b00a46327b4fd8si3270930eje.645.2024.03.26.02.46.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 02:46:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118703-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; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-118703-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118703-linux.lists.archive=gmail.com@vger.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 EC9F71F631FF for ; Tue, 26 Mar 2024 09:46:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 68080524BA; Tue, 26 Mar 2024 09:42:44 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 D74E84D9FE for ; Tue, 26 Mar 2024 09:42:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711446163; cv=none; b=m+Ha4pV0EmmpgTfOkynHHCBSxSxMtBLHg8XuKWCszoLh5Yc/P88FBZcXaNLB3YS4wNopW3O5kqMObN95kDfYhxVDAcnOg9i9RDETWVrVmoH5mIRHHKEZnjwXWs0cn+FP+qvh0G/w3QrrTOBp1a45o1ivyTHwKsVJZUg1zkVWo1I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711446163; c=relaxed/simple; bh=r58QDjO3upb8VbQsw09eAWnh3c+/UPkS1rzx70Z37mI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dazzOg+fWLk8c/AwUQ/mzdHq46OlJtoyoB4y+wlXd/GvhT4J6G+9/vbyVPrKVD0d1iwqBC/tmAmRv7OrDw4+9oB0vQAABYcjTI29CVFWmzr9oWoGhWsryiV3Xo63FJxABgjaZk5Rr38wA1aODoitGrMU068eO0RihLUyrj0/dtA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=localhost) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rp3KH-000583-PI; Tue, 26 Mar 2024 10:42:37 +0100 From: Rouven Czerwinski To: Ulf Hansson Cc: kernel@pengutronix.de, Rouven Czerwinski , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] mmc: debugfs: add card entry for quirks Date: Tue, 26 Mar 2024 10:42:14 +0100 Message-ID: <20240326094215.212930-2-r.czerwinski@pengutronix.de> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240326094215.212930-1-r.czerwinski@pengutronix.de> References: <20240326094215.212930-1-r.czerwinski@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: r.czerwinski@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org This is useful to check if a quirk has been applied for the connected mmc card. Signed-off-by: Rouven Czerwinski --- drivers/mmc/core/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c index 6dbab860e453..f10a4dcf1f95 100644 --- a/drivers/mmc/core/debugfs.c +++ b/drivers/mmc/core/debugfs.c @@ -389,6 +389,7 @@ void mmc_add_card_debugfs(struct mmc_card *card) card->debugfs_root = root; debugfs_create_x32("state", 0400, root, &card->state); + debugfs_create_x32("quirks", 0400, root, &card->quirks); } void mmc_remove_card_debugfs(struct mmc_card *card) -- 2.44.0