From nobody Tue Feb 10 01:35:45 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 151320759006317.155322509911116; Wed, 13 Dec 2017 15:26:30 -0800 (PST) Received: from localhost ([::1]:38250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePGPw-0000CS-8Q for importer@patchew.org; Wed, 13 Dec 2017 18:26:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePGLk-0005KG-2x for qemu-devel@nongnu.org; Wed, 13 Dec 2017 18:22:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePGLi-0007Q8-3i for qemu-devel@nongnu.org; Wed, 13 Dec 2017 18:22:04 -0500 Received: from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]:46523) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePGLh-0007PZ-Vs for qemu-devel@nongnu.org; Wed, 13 Dec 2017 18:22:02 -0500 Received: by mail-qt0-x241.google.com with SMTP id r39so5823261qtr.13 for ; Wed, 13 Dec 2017 15:22:01 -0800 (PST) Received: from x1.local ([181.91.222.165]) by smtp.gmail.com with ESMTPSA id l1sm1666918qkk.74.2017.12.13.15.21.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Dec 2017 15:22:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mViIVDSk5Y9j270iZL+3Q9Iqu+XiE53xwMKRYX4d+w0=; b=GyAJgMenTbn0NtjL3//m9SyC0dhlPvH8j1fx1nUxScZU3ezv8ifEg1QTF8dyWAze1M mmBqmqX9zVOiU2bswJryDTNGv5Vd6bV6thVHmvLEykK/0ivm0TBIcOqNKLh/pJVXNa86 6nlg30df05GgDCJBVkEN5JjDSX6OqBLHHgNCbvLiO1nRJyCQyk08UEV3P14FsMgaNYJ/ hdUzVbFBFuyKd8DWkCeyPM8OfiGdgGn7bXWKhaW5Ubx+1+cMydmuChSzHpCwbLLFEYDt HNFOjExNg5URtrytqDSQbWeutk2CJlKUNYViJ4L9KJOYQ6d885WI7ILSCVaaUNVOlTec GY0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=mViIVDSk5Y9j270iZL+3Q9Iqu+XiE53xwMKRYX4d+w0=; b=oCDif6RGGE21KtNLDF6RAddGenfzoFPj8wSRXd/ldj/ZWiMPzybK1XjWeHch8Wqq/R 7JXrq1E4Dv9hFsWN61+mwtvfeEI/BuqT3BpGTrFoqrAbLmXCRgz2G+oE43ykxvi2lHov ozAXACFvWYA3RVBioSpKiqEDabtjVDydry2uCCxld/vpouA7egBAL8D7YK+7exZQHX0g OeGx6l3QriYrCDhJ9aHiPfIjEtr85AmTuSYujnql+Jt+2j7+c41igg6a9s0MneXxek5N qBAR22ZC8PC863xNTZn9Ux2P2br183SLW5QAjDDb4lJHt18GYFpfzHWvXiO8QG8tNsyR lraA== X-Gm-Message-State: AKGB3mJjrKU7u+r3NL5QIxfIEqPWPXEF6iLIj1HtWtP2GEpChy9gmWin Rr4+orGaawT+5C+FYD/KpTU= X-Google-Smtp-Source: ACJfBovi0cWkCz8c1AQIhNoaOAy+YjHgyFi5lbRy4oGRabETd7h1w87fjqQIRXjdhhjil4ejZJbiGA== X-Received: by 10.200.38.6 with SMTP id u6mr13290185qtu.1.1513207321618; Wed, 13 Dec 2017 15:22:01 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Alistair Francis , "Edgar E . Iglesias" , Peter Maydell , Andrew Baumann , Prasad J Pandit , Clement Deschamps Date: Wed, 13 Dec 2017 20:20:04 -0300 Message-Id: <20171213232025.24503-6-f4bug@amsat.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171213232025.24503-1-f4bug@amsat.org> References: <20171213232025.24503-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::241 Subject: [Qemu-devel] [PATCH 05/26] sdcard: rename sd_set_mode() -> sd_update_mode() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sai Pavan Boddu , Peter Crosthwaite , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 This will ease to trace mode changes (in the following patchs). Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/sd/sd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/sd/sd.c b/hw/sd/sd.c index 6227a3518b..f63459d2c0 100644 --- a/hw/sd/sd.c +++ b/hw/sd/sd.c @@ -128,7 +128,7 @@ struct SDState { bool enable; }; =20 -static void sd_set_mode(SDState *sd) +static void sd_update_mode(SDState *sd) { switch (sd->state) { case sd_inactive_state: @@ -1470,7 +1470,7 @@ int sd_do_command(SDState *sd, SDRequest *req, uint8_= t *response) } =20 last_state =3D sd->state; - sd_set_mode(sd); + sd_update_mode(sd); =20 if (sd->expecting_acmd) { sd->expecting_acmd =3D false; --=20 2.15.1