> -----Original Message----- > From: Alan Cox [mailto:[email protected]] > Sent: Tuesday, November 09, 2010 6:43 PM > To: Dong, Chuanxiao > Cc: [email protected]; [email protected] > Subject: Re: [Meego-kernel] [PATCH v1 3/3]mmc:implement the reset eMMC card > part for MFLD sdhci host controller > > > gpio_request can fail so that ought to be checked. Also we have name > tables in the firmware for gpio lines to avoid hardcoding random magic > numbers per board so they want using. > > Can we get something like mmc_reset_0, mmc_reset_1, mmc_reset_2 in the > SFI names so that for any future product we won't need code changes.
Alan, I have a question about the SFI table. I have checked some drivers which also need request GPIO lines. Found that those drivers can get the GPIO lines' number from the driver specified platform data passed in their 'probe' routine. They are registered as a platform device. However MMC driver is registered as a PCI device, how can it get the GPIO lines' number from a driver specified platform data? Any idea? _______________________________________________ MeeGo-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
