From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Rapoport Subject: Re: [PATCH 0/3] mmc: omap_hsmmc: support SDIO cards Date: Thu, 11 Feb 2010 14:31:44 +0200 Message-ID: <4B73F8B0.100@compulab.co.il> References: <4B73BFD3.8090106@compulab.co.il> <4B73E59F.3020400@csr.com> <4B73ED3C.9010107@compulab.co.il> <4B73F418.6070804@csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B73F418.6070804@csr.com> Sender: linux-mmc-owner@vger.kernel.org To: David Vrabel Cc: linux-mmc@vger.kernel.org, linux-omap@vger.kernel.org, madhu.cr@ti.com, Mike Rapoport List-Id: linux-omap@vger.kernel.org David Vrabel wrote: > Mike Rapoport wrote: >> I've started to apply the patches one by one and after the first patch >> is applied, the SD card works Ok, but libertas fails to initialize with >> the following messages: >> >>> modprobe libertas_sdio >> [ 82.233489] lib80211: common routines for IEEE802.11 drivers >> [ 82.833251] cfg80211: Calling CRDA to update world regulatory domain >> [ 83.327911] libertas_sdio: Libertas SDIO driver >> [ 83.332489] libertas_sdio: Copyright Pierre Ossman >> [ 83.348510] libertas_sdio mmc1:0001:1: firmware: requesting >> sd8686_helper.bin >> [ 83.497619] libertas_sdio mmc1:0001:1: firmware: requesting sd8686.bin >> [ 83.679229] DMA synchronization event drop occurred with device 47 > > What block size are you using? It looks like you're using something > less than 512. I've checked the spec again and the DMA packet size > should be the block size in words (and not the FIFO depth). It's quite possible. I haven't dig too much and I really don't know how exactly libertas driver sends/receives the data... I'll continue testing and will try to get some more meaningful info > Also, keep in mind that the buffers for transfers must begin and end on > a word boundary. The OMAP's DMA controller can only transfer whole > words to the MMC FIFO. > > David -- Sincerely yours, Mike.