Re: [PATCH 2/2] mmc: rtsx: modify phase searching method for tunning

2013-11-20 Thread micky
Hi Dan: On 11/20/2013 04:17 PM, Dan Carpenter wrote: On Tue, Nov 19, 2013 at 07:10:35PM +0800, micky_ch...@realsil.com.cn wrote: -static u8 sd_search_final_phase(struct realtek_pci_sdmmc *host, u32 phase_map) +static inline u32 sd_get_phase_point(u32 phase_map, unsigned int idx) { -

Re: [PATCH 2/2] mmc: rtsx: modify phase searching method for tunning

2013-11-20 Thread Dan Carpenter
On Tue, Nov 19, 2013 at 07:10:35PM +0800, micky_ch...@realsil.com.cn wrote: > -static u8 sd_search_final_phase(struct realtek_pci_sdmmc *host, u32 > phase_map) > +static inline u32 sd_get_phase_point(u32 phase_map, unsigned int idx) > { > - struct timing_phase_path path[MAX_PHASE + 1]; > -

Re: [PATCH 2/2] mmc: rtsx: modify phase searching method for tunning

2013-11-20 Thread Dan Carpenter
On Tue, Nov 19, 2013 at 07:10:35PM +0800, micky_ch...@realsil.com.cn wrote: -static u8 sd_search_final_phase(struct realtek_pci_sdmmc *host, u32 phase_map) +static inline u32 sd_get_phase_point(u32 phase_map, unsigned int idx) { - struct timing_phase_path path[MAX_PHASE + 1]; - int

Re: [PATCH 2/2] mmc: rtsx: modify phase searching method for tunning

2013-11-20 Thread micky
Hi Dan: On 11/20/2013 04:17 PM, Dan Carpenter wrote: On Tue, Nov 19, 2013 at 07:10:35PM +0800, micky_ch...@realsil.com.cn wrote: -static u8 sd_search_final_phase(struct realtek_pci_sdmmc *host, u32 phase_map) +static inline u32 sd_get_phase_point(u32 phase_map, unsigned int idx) { -

[PATCH 2/2] mmc: rtsx: modify phase searching method for tunning

2013-11-19 Thread micky_ching
From: Micky Ching The new phase searching method is more concise and easier to understand. Signed-off-by: Micky Ching --- drivers/mmc/host/rtsx_pci_sdmmc.c | 108 +++-- 1 file changed, 30 insertions(+), 78 deletions(-) diff --git

[PATCH 2/2] mmc: rtsx: modify phase searching method for tunning

2013-11-19 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn The new phase searching method is more concise and easier to understand. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mmc/host/rtsx_pci_sdmmc.c | 108 +++-- 1 file changed, 30 insertions(+), 78