Re: [PATCH 1/3] sh, mmc: Make mmcif_update_progress static inline

2010-11-28 Thread Paul Mundt
On Sat, Nov 27, 2010 at 08:02:57AM +0900, Simon Horman wrote: > extern inline doesn't make much sense > > Cc: Yusuke Goda > Cc: Magnus Damm > Signed-off-by: Simon Horman On Sat, Nov 27, 2010 at 08:02:58AM +0900, Simon Horman wrote: > This resolves a regression that I introduced in > "mmc, sh:

RE: FW: [PATCH 2.6.32]: Add new device IDs and registersforMULTIMEDIA CARD (MMC), SECURE DIGITAL (SD) cards.

2010-11-28 Thread Jennifer Li (TP)
Hi Chris, 1. We don't need disable ADMA on the 8120 device. For safety, we have prepared a device ID for device 8120. 2. 0x01 bit is a lock/unlock bit. The CAPABILITIES register could be opened by the 0x01 bit. If we set the 0x01, the CAPABILITIES register can be written. We have to set the 0x01

Re: [PATCH 2/3] mmc: sdio: don't reinitialize nonremovable powered-resumed cards

2010-11-28 Thread Ohad Ben-Cohen
2010/11/28 Ohad Ben-Cohen : >>> I have not switched all existing code to mmc_card_is_powered_resumed(), >>> I can do that as a subsequent clean up patch. (i just prefer not to mix functional changes with cleanups in a single patch) > -- To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH 2/3] mmc: sdio: don't reinitialize nonremovable powered-resumed cards

2010-11-28 Thread Ohad Ben-Cohen
2010/11/28 Michał Mirosław : >> + >> +       /* No need to reinitialize powered-resumed nonremovable cards */ >> +       if (mmc_card_is_removable(host) || >> !mmc_card_is_powered_resumed(host)) >> +               err = mmc_sdio_init_card(host, host->ocr, host->card, >>                        

Re: [PATCH 2/3] mmc: sdio: don't reinitialize nonremovable powered-resumed cards

2010-11-28 Thread Michał Mirosław
2010/11/28 Ohad Ben-Cohen : > Upon system resume, SDIO core must reinitialize cards that were > powered off during suspend. > > If the card had its power kept during suspend (and thus it > is 'powered-resumed'), SDIO core performs only a limited reinitializing, > mainly needed to make sure that the