RE: [PATCH] mmc,sdio: advancing the setting of dev name in mmc_sdio_init_card()

2012-11-19 Thread Huang Changming-R66093
0, 2012 1:38 AM > To: c...@laptop.org; o...@wizery.com > Cc: linux-mmc@vger.kernel.org; linux-ker...@vger.kernel.org; > chuansheng@intel.com > Subject: [PATCH] mmc,sdio: advancing the setting of dev name in > mmc_sdio_init_card() > > > In below call trace: >

[PATCH] mmc,sdio: advancing the setting of dev name in mmc_sdio_init_card()

2012-11-19 Thread Chuansheng Liu
In below call trace: mmc_rescan -> mmc_rescan_try_freq() -> mmc_attach_sdio() -> mmc_sdio_init_card() ... pm_runtime_set_active() ... mmc_add_card() The dev name is set until in mmc_add_card(), but before that, it is possible the dev name is needed, for