From patchwork Wed Jul 27 12:25:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 72866 Delivered-To: patches@linaro.org Received: by 10.140.29.52 with SMTP id a49csp278390qga; Wed, 27 Jul 2016 05:25:56 -0700 (PDT) X-Received: by 10.25.146.85 with SMTP id u82mr9625227lfd.222.1469622356384; Wed, 27 Jul 2016 05:25:56 -0700 (PDT) Return-Path: Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com. [2a00:1450:4010:c07::22a]) by mx.google.com with ESMTPS id h35si3087458ljh.53.2016.07.27.05.25.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2016 05:25:56 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::22a as permitted sender) client-ip=2a00:1450:4010:c07::22a; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::22a as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-lf0-x22a.google.com with SMTP id f93so26123701lfi.2 for ; Wed, 27 Jul 2016 05:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NCdHK4YtJ1rtB83wfMAGAml2jp7ugpiAqBmezzAE+0k=; b=UzZXlh7UupyLVBZCZE2GtkZ6oP0EjjjeZgom6CA/8OCJfgJgCQs7zlwxHQQbsa8SCD V6HThpvTn+Mug6L7NMXjDsSoSRorz7px0yQmDHHOcYG0NbIlaBdIYJP3b8p3wsg44xYW yfQ+43RFEOXyzwgHxr8ZUB+GDHmlq7CCBuBdk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NCdHK4YtJ1rtB83wfMAGAml2jp7ugpiAqBmezzAE+0k=; b=CNAC4CQdJZSnCOPEhgwynM3823DU4xMaXZrPUfGpL2oUQwbZAdlgNhm/phepYaUcPL qJVpmAAcRu2z7dzP1xQY7c7saD55piISKejoPHqDyHMsxl83ElmJVXMXa8uP7j1dAybB //sOjG+MAQCSJV3SvVTypi+wVaySvnUXZT5NgBs9QIqF4EJUH36wqICAXkljPXM/D5pw PWXNX5SaCjldC1dexDkepRDDZqirC5u5zsaBNCnBiWp5OpRh7DN5pshkSA/xfO7Ar2+3 0CIaQLZ9xE5j6OZpwexKwEZ9tAggl1oy19TwrNRrRN0inmA0+bA8kmYfAuJzNS9Mtkd9 MhAg== X-Gm-Message-State: AEkoouu50OHUomu3nK8ja10mu9xLwp3UlWJbxsgQpSTDT9gOdeFxWxwBRWFKfXWzwoQYb7P1KZs= X-Received: by 10.25.207.14 with SMTP id f14mr9646673lfg.231.1469622355921; Wed, 27 Jul 2016 05:25:55 -0700 (PDT) Return-Path: Received: from localhost.localdomain (h-155-4-128-67.na.cust.bahnhof.se. [155.4.128.67]) by smtp.gmail.com with ESMTPSA id 196sm968081ljf.5.2016.07.27.05.25.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Jul 2016 05:25:54 -0700 (PDT) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Micky Ching , Wei WANG , Roger Tseng , Mauro Santos , Baolin Wang Subject: [PATCH 2/2] mmc: rtsx_pci: Enable MMC_CAP_ERASE to allow erase/discard/trim requests Date: Wed, 27 Jul 2016 14:25:38 +0200 Message-Id: <1469622338-11158-3-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1469622338-11158-1-git-send-email-ulf.hansson@linaro.org> References: <1469622338-11158-1-git-send-email-ulf.hansson@linaro.org> Cc: Micky Ching Signed-off-by: Ulf Hansson --- drivers/mmc/host/rtsx_pci_sdmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 diff --git a/drivers/mmc/host/rtsx_pci_sdmmc.c b/drivers/mmc/host/rtsx_pci_sdmmc.c index 6158b96..40f957e 100644 --- a/drivers/mmc/host/rtsx_pci_sdmmc.c +++ b/drivers/mmc/host/rtsx_pci_sdmmc.c @@ -1360,7 +1360,7 @@ static void realtek_init_host(struct realtek_pci_sdmmc *host) mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_VDD_165_195; mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED | MMC_CAP_BUS_WIDTH_TEST | - MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25; + MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25 | MMC_CAP_ERASE; mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE; mmc->max_current_330 = 400; mmc->max_current_180 = 800;