From patchwork Thu Mar 17 18:42:26 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sascha Silbe X-Patchwork-Id: 641861 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2HInwiq009354 for ; Thu, 17 Mar 2011 18:49:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754985Ab1CQSt5 (ORCPT ); Thu, 17 Mar 2011 14:49:57 -0400 Received: from setoy.chost.de ([217.160.209.225]:58391 "EHLO smtp.chost.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754725Ab1CQSt4 (ORCPT ); Thu, 17 Mar 2011 14:49:56 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 17 Mar 2011 18:49:59 +0000 (UTC) X-Greylist: delayed 400 seconds by postgrey-1.27 at vger.kernel.org; Thu, 17 Mar 2011 14:49:56 EDT Received: (qmail 22999 invoked by uid 5015); 17 Mar 2011 18:43:23 -0000 Received: (nullmailer pid 6384 invoked by uid 123); Thu, 17 Mar 2011 18:43:13 -0000 Received: from twin.sascha.silbe.org (twin.sascha.silbe.org [192.168.1.2]) by flatty.sascha.silbe.org ([192.168.1.252]) with SMTP via TCP; 17 Mar 2011 18:43:13 -0000 Received: (nullmailer pid 1975 invoked by uid 8193); Thu, 17 Mar 2011 18:43:14 -0000 From: Sascha Silbe To: linux-mmc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Chris Ball , Nicolas Pitre Subject: [PATCH] mmc: enable ERASE caps for mvsdio host Date: Thu, 17 Mar 2011 19:42:26 +0100 Message-Id: <1300387346-1938-1-git-send-email-sascha-ml-reply-to-2011-2@silbe.org> X-Mailer: git-send-email 1.7.4.1 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c index eeb1147..758251d 100644 --- a/drivers/mmc/host/mvsdio.c +++ b/drivers/mmc/host/mvsdio.c @@ -735,7 +735,8 @@ static int __init mvsd_probe(struct platform_device *pdev) mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34; mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SDIO_IRQ | - MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED; + MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED | + MMC_CAP_ERASE; mmc->f_min = DIV_ROUND_UP(host->base_clock, MVSD_BASE_DIV_MAX); mmc->f_max = maxfreq;