From patchwork Tue Feb 16 09:34:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 79564 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1G9Z89A007287 for ; Tue, 16 Feb 2010 09:35:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756752Ab0BPJfF (ORCPT ); Tue, 16 Feb 2010 04:35:05 -0500 Received: from mail.gmx.net ([213.165.64.20]:59984 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756834Ab0BPJfD (ORCPT ); Tue, 16 Feb 2010 04:35:03 -0500 Received: (qmail invoked by alias); 16 Feb 2010 09:34:52 -0000 Received: from p57BD1A7E.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.26.126] by mail.gmx.net (mp025) with SMTP; 16 Feb 2010 10:34:52 +0100 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX1/MVTd9y9rMESNO/QkYtDVO/LT0kiaUyzvAfr5INN a65sS/dW5tIYKo Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1NhJpX-0001Qx-SC; Tue, 16 Feb 2010 10:34:55 +0100 Date: Tue, 16 Feb 2010 10:34:55 +0100 (CET) From: Guennadi Liakhovetski To: Andrew Morton cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Ian Molton , Magnus Damm , "linux-sh@vger.kernel.org" Subject: [PATCH] tmio_mmc: keep card-detect interrupts enabled In-Reply-To: <20091217131239.0dfd5534.akpm@linux-foundation.org> Message-ID: References: <20091217131239.0dfd5534.akpm@linux-foundation.org> MIME-Version: 1.0 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 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]); Tue, 16 Feb 2010 09:35:08 +0000 (UTC) diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index 692dc23..dafecfb 100644 --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -55,10 +55,8 @@ /* Define some IRQ masks */ /* This is the mask used at reset by the chip */ #define TMIO_MASK_ALL 0x837f031d -#define TMIO_MASK_READOP (TMIO_STAT_RXRDY | TMIO_STAT_DATAEND | \ - TMIO_STAT_CARD_REMOVE | TMIO_STAT_CARD_INSERT) -#define TMIO_MASK_WRITEOP (TMIO_STAT_TXRQ | TMIO_STAT_DATAEND | \ - TMIO_STAT_CARD_REMOVE | TMIO_STAT_CARD_INSERT) +#define TMIO_MASK_READOP (TMIO_STAT_RXRDY | TMIO_STAT_DATAEND) +#define TMIO_MASK_WRITEOP (TMIO_STAT_TXRQ | TMIO_STAT_DATAEND) #define TMIO_MASK_CMD (TMIO_STAT_CMDRESPEND | TMIO_STAT_CMDTIMEOUT | \ TMIO_STAT_CARD_REMOVE | TMIO_STAT_CARD_INSERT) #define TMIO_MASK_IRQ (TMIO_MASK_READOP | TMIO_MASK_WRITEOP | TMIO_MASK_CMD)