[PATCH] staging: android: ion: fix sys heap pool's gfp_flags

2019-01-31 Thread Qing Xia
In the first loop, gfp_flags will be modified to high_order_gfp_flags, and there will be no chance to change back to low_order_gfp_flags. Fixes: e7f63771 ("ION: Sys_heap: Add cached pool to spead up cached buffer alloc") Signed-off-by: Qing Xia --- drivers/staging/android/ion/ion_sys

[PATCH] staging: android: ion: move map_kernel to ion_dma_buf_kmap

2018-12-24 Thread Qing Xia
, they will call ion_dma_buf_end_cpu_access by dmabuf's ioctl, ION buffer's kmap_cnt will be wrong value -1, then driver could not get right kernel vaddr by dma_buf_kmap. Signed-off-by: Qing Xia --- drivers/staging/android/ion/ion.c | 46 ++- 1 file changed, 21

[PATCH v2] mmc: dw_mmc: fix card threshold control configuration

2018-07-03 Thread Qing Xia
that the current code goes to 'disable' when doing data reading in HS400 mode. Fixes: 7e4bf1bc9543 ("mmc: dw_mmc: add the card write threshold for HS400 mode") Signed-off-by: Qing Xia --- drivers/mmc/host/dw_mmc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH v2] mmc: dw_mmc: fix card threshold control configuration

2018-07-03 Thread Qing Xia
that the current code goes to 'disable' when doing data reading in HS400 mode. Fixes: 7e4bf1bc9543 ("mmc: dw_mmc: add the card write threshold for HS400 mode") Signed-off-by: Qing Xia --- drivers/mmc/host/dw_mmc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH] mmc: dw_mmc: fix card threshold control configuration

2018-05-29 Thread Qing Xia
that the current code goes to 'disable' when doing data reading in HS400 mode. Signed-off-by: Qing Xia --- drivers/mmc/host/dw_mmc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 29a1afa..3ee8f57 100644

[PATCH] mmc: dw_mmc: fix card threshold control configuration

2018-05-29 Thread Qing Xia
that the current code goes to 'disable' when doing data reading in HS400 mode. Signed-off-by: Qing Xia --- drivers/mmc/host/dw_mmc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 29a1afa..3ee8f57 100644