From patchwork Tue May 24 10:24:03 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 811432 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4OAO6xB016426 for ; Tue, 24 May 2011 10:24:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753980Ab1EXKYH (ORCPT ); Tue, 24 May 2011 06:24:07 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:62983 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751103Ab1EXKYG (ORCPT ); Tue, 24 May 2011 06:24:06 -0400 Received: from axis700.grange (dslb-094-221-030-047.pools.arcor-ip.net [94.221.30.47]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0M5qIb-1PR6SY28z3-00yF3M; Tue, 24 May 2011 12:24:03 +0200 Received: by axis700.grange (Postfix, from userid 1000) id 21049189B6D; Tue, 24 May 2011 12:24:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by axis700.grange (Postfix) with ESMTP id 1E50F189B6B; Tue, 24 May 2011 12:24:03 +0200 (CEST) Date: Tue, 24 May 2011 12:24:03 +0200 (CEST) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: linux-sh@vger.kernel.org cc: linux-mmc@vger.kernel.org, Simon Horman , Magnus Damm , Ian Molton , Dan Williams , Vinod Koul Subject: [PATCH 2/3] ARM: mach-shmobile: mark DMA slave ID 0 as invalid In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Provags-ID: V02:K0:iI9ODA6fnRSoyWHlS15PdrmL8CM7NkqQVOzLzUktKJ7 TY/8E3odHvBRZ8ZkYL7wg3FEWu/7kUguAy+VtzfymLflX3gIUO MWtF0KtLj9Nr3U6r+Vr1E2SwoPAnbF42qWcbpQUlEAG27lgIm/ TmSURW1TgLOa5CkWXWhB4vRfoW0h/6CpqlFEz6drlcuzO/unu8 RH+zTIzXaBFAFWCPUGkl+8yM1/boblQXjIhD6pzMcg= Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 24 May 2011 10:24:09 +0000 (UTC) This makes it possible to leave DMA slave IDs in the platform data at default 0 value without hitting DMA channel allocation error paths. Signed-off-by: Guennadi Liakhovetski --- arch/arm/mach-shmobile/include/mach/sh7372.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-shmobile/include/mach/sh7372.h b/arch/arm/mach-shmobile/include/mach/sh7372.h index 6a290b7..75076b1 100644 --- a/arch/arm/mach-shmobile/include/mach/sh7372.h +++ b/arch/arm/mach-shmobile/include/mach/sh7372.h @@ -436,6 +436,7 @@ enum { /* DMA slave IDs */ enum { + SHDMA_SLAVE_INVALID, SHDMA_SLAVE_SCIF0_TX, SHDMA_SLAVE_SCIF0_RX, SHDMA_SLAVE_SCIF1_TX,