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 v2 2/2] mmc: rtsx: modify phase searching method for tunning

2013-11-20 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 | 112 +++-- include/linux/mfd/rtsx_pci.h |

[PATCH v2 0/2] fix sd power bug and modify phase-searching method

2013-11-20 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn If the driver removed while sd/mmc card still in the slot, the card power will not power down correctly, if we insert the driver module again, UHS card will not switch to UHS mode. This bug is fixed in this patch. We use another phase search method

[PATCH v2 1/2] mmc: rtsx: fix card poweroff bug

2013-11-20 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn If the host driver removed while card in the slot, the host will not power off card power correctly. This bug is produced because host eject flag set before the last mmc_set_ios callback, we should set the eject flag after power off. Signed-off-by:

Re: [PATCH] staging: imx-drm: Fix modular build of DRM_IMX_IPUV3

2013-11-20 Thread Josh Boyer
On Tue, Nov 19, 2013 at 09:39:19PM -0800, Greg KH wrote: On Tue, Nov 19, 2013 at 08:56:59PM -0500, Josh Boyer wrote: On Mon, Nov 18, 2013 at 10:03:10AM +0100, Sascha Hauer wrote: On Tue, Nov 12, 2013 at 12:15:45PM -0500, Josh Boyer wrote: commit b8d181e408af (staging: drm/imx: add drm

Re: [PATCH] staging: imx-drm: Fix modular build of DRM_IMX_IPUV3

2013-11-20 Thread Greg KH
On Wed, Nov 20, 2013 at 08:16:32AM -0500, Josh Boyer wrote: On Tue, Nov 19, 2013 at 09:39:19PM -0800, Greg KH wrote: On Tue, Nov 19, 2013 at 08:56:59PM -0500, Josh Boyer wrote: On Mon, Nov 18, 2013 at 10:03:10AM +0100, Sascha Hauer wrote: On Tue, Nov 12, 2013 at 12:15:45PM -0500, Josh

Re: [PATCH 00/31] ARM: tegra: use common reset and DMA bindings

2013-11-20 Thread Arnd Bergmann
On Wednesday 20 November 2013, Stephen Warren wrote: +- #iommu-cells : Must be 1. This dictates the length of DMA specifiers in + client nodes' dmas properties. The specifier represents the DMA request + select value for the peripheral. For more details, consult the Tegra TRM's +

Re: [PATCH 00/31] ARM: tegra: use common reset and DMA bindings

2013-11-20 Thread Stephen Warren
On 11/20/2013 10:03 AM, Arnd Bergmann wrote: On Wednesday 20 November 2013, Stephen Warren wrote: +- #iommu-cells : Must be 1. This dictates the length of DMA specifiers in + client nodes' dmas properties. The specifier represents the DMA request + select value for the peripheral. For more