From patchwork Wed Aug 18 16:24:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Hannemann X-Patchwork-Id: 120228 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o7IGOFsi031905 for ; Wed, 18 Aug 2010 16:24:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751297Ab0HRQYP (ORCPT ); Wed, 18 Aug 2010 12:24:15 -0400 Received: from mta-2.ms.rz.RWTH-Aachen.DE ([134.130.7.73]:42850 "EHLO mta-2.ms.rz.rwth-aachen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751069Ab0HRQYO (ORCPT ); Wed, 18 Aug 2010 12:24:14 -0400 Content-transfer-encoding: 7BIT Received: from ironport-out-1.rz.rwth-aachen.de ([134.130.5.40]) by mta-2.ms.rz.RWTH-Aachen.de (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008)) with ESMTP id <0L7C00KRRW8DKEB0@mta-2.ms.rz.RWTH-Aachen.de> for linux-sh@vger.kernel.org; Wed, 18 Aug 2010 18:24:13 +0200 (CEST) X-IronPort-AV: E=Sophos; i="4.56,228,1280700000"; d="scan'208"; a="69297892" Received: from smarthost-2.ms.rz.rwth-aachen.de (HELO smarthost.rwth-aachen.de) ([134.130.7.90]) by ironport-in-1.rz.rwth-aachen.de with ESMTP; Wed, 18 Aug 2010 18:24:13 +0200 Received: from localhost.localdomain (informatik-4-137-226-12-76.nn.RWTH-Aachen.DE [137.226.12.76] (may be forged)) by smarthost.rwth-aachen.de (8.14.4+Sun/8.13.8/1) with ESMTP id o7IGOD3O018003; Wed, 18 Aug 2010 18:24:13 +0200 (CEST) From: Arnd Hannemann To: linux-sh@vger.kernel.org Cc: Arnd Hannemann Subject: [PATCH] ARM: mach-shmobile: ap4evb: fix write protect for SDHI1 Date: Wed, 18 Aug 2010 18:24:13 +0200 Message-id: <1282148653-5000-1-git-send-email-arnd@arndnet.de> X-Mailer: git-send-email 1.7.0.4 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 18 Aug 2010 16:24:16 +0000 (UTC) diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 23d472f..97c31fe 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -307,6 +308,7 @@ static struct sh_mobile_sdhi_info sdhi1_info = { .dma_slave_tx = SHDMA_SLAVE_SDHI1_TX, .dma_slave_rx = SHDMA_SLAVE_SDHI1_RX, .tmio_ocr_mask = MMC_VDD_165_195, + .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE, }; static struct resource sdhi1_resources[] = {