Re: [PATCH] iio: adc: ad7292: Modify the bool initialization assignment

2021-03-21 Thread Guoqing Chi
On Sat, 20 Mar 2021 15:07:30 + Jonathan Cameron wrote: > On Fri, 19 Mar 2021 14:27:06 +0800 > Guoqing chi wrote: > > > From: Guoqing Chi > > > > A bool initializer is best assigned to false rather than 0. > > > > Signed-off-by: Guoqing Chi

[PATCH V4] iio:imu:mpu6050: Modify matricies to matrices

2021-03-21 Thread Guoqing chi
From: Guoqing Chi The plural of "matrix" is "matrices". Signed-off-by: Guoqing Chi Acked-by: Randy Dunlap --- V4:adding linux-...@vger.kernel.org. include/linux/platform_data/invensense_mpu6050.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include

[PATCH] iio: adc: ad7292: Modify the bool initialization assignment

2021-03-19 Thread Guoqing chi
From: Guoqing Chi A bool initializer is best assigned to false rather than 0. Signed-off-by: Guoqing Chi --- drivers/iio/adc/ad7292.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/ad7292.c b/drivers/iio/adc/ad7292.c index 70e33dd1c9f7..3271a31afde1 100644

[PATCH V3] iio:imu:mpu6050: Modify matricies to matrices

2021-03-17 Thread Guoqing chi
From: Guoqing Chi The plural of "matrix" is "matrices". Signed-off-by: Guoqing Chi Acked-by: Randy Dunlap --- V3:Adding Acked. include/linux/platform_data/invensense_mpu6050.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/platform_dat

Re: [PATCH V2] iio:imu:mpu6050: Modify matricies to matrices

2021-03-17 Thread Guoqing Chi
On Wed, 17 Mar 2021 08:24:33 -0700 Randy Dunlap wrote: > On 3/16/21 11:19 PM, Guoqing chi wrote: > > From: Guoqing Chi > > > > The plural of "matrix" is "matrices". > > > > Signed-off-by: Guoqing Chi > > Acked-by: Randy Dunlap &

[PATCH V2] iio:imu:mpu6050: Modify matricies to matrices

2021-03-17 Thread Guoqing chi
From: Guoqing Chi The plural of "matrix" is "matrices". Signed-off-by: Guoqing Chi --- V2:fix "complex number of" to "plural of". include/linux/platform_data/invensense_mpu6050.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] iio:imu:mpu6050: Modify matricies to matrices

2021-03-17 Thread Guoqing Chi
On Tue, 16 Mar 2021 22:04:33 -0700 Randy Dunlap wrote: > On 3/16/21 7:41 PM, Guoqing chi wrote: > > From: Guoqing Chi > > > > The complex number of "matrix" is "matrices". > > (I would say that the plural of matrix is matrices.) Yes?

[PATCH] iio:imu:mpu6050: Modify matricies to matrices

2021-03-16 Thread Guoqing chi
From: Guoqing Chi The complex number of "matrix" is "matrices". Signed-off-by: Guoqing Chi --- include/linux/platform_data/invensense_mpu6050.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/platform_data/invensense_mpu6050.h b/include

Re: [PATCH v2 resend] iio: imu: bmi160: add mutex_lock for avoiding race

2021-01-31 Thread Guoqing Chi
On Sun, 31 Jan 2021 11:21:43 + Jonathan Cameron wrote: > On Mon, 25 Jan 2021 09:53:44 +0800 > Guoqing Chi wrote: > > > From: chiguoqing > > > > Adding mutex_lock, when read and write reg need to use this lock to > > avoid race. > > > > Sig

[PATCH resend] media: vidtv: remove redundant quote

2021-01-26 Thread Guoqing Chi
From: zhangwen Repeated references string.h Signed-off-by: zhangwen Signed-off-by: chiguoqing --- drivers/media/test-drivers/vidtv/vidtv_psi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/test-drivers/vidtv/vidtv_psi.c b/drivers/media/test-drivers/vidtv/vidtv_psi.c index

Re: [PATCH v2] iio: imu: bmi160: add mutex_lock for avoiding race

2021-01-26 Thread Guoqing Chi
On Sat, 23 Jan 2021 15:26:59 + Jonathan Cameron wrote: > On Wed, 20 Jan 2021 07:06:23 -0800 > Tom Rix wrote: > > > On 1/19/21 5:48 PM, Guoqing Chi wrote: > > > On Tue, 19 Jan 2021 06:54:45 -0800 > > > Tom Rix wrote: > > > &g

Re: [PATCH] media: vidtv: remove redundant quote

2021-01-26 Thread Guoqing Chi
On Mon, 25 Jan 2021 12:26:54 +0100 Hans Verkuil wrote: > On 19/01/2021 02:09, chiguoqing wrote: > > Repeated references string.h > > > > Signed-off-by: Wen Zhang > > checkpatch gives me: > > ERROR: Missing Signed-off-by: line by nominal patch author > 'chiguoqing ' > > Can you fix this? >

[PATCH v2 resend] iio: imu: bmi160: add mutex_lock for avoiding race

2021-01-24 Thread Guoqing Chi
From: chiguoqing Adding mutex_lock, when read and write reg need to use this lock to avoid race. Signed-off-by: Guoqing Chi Reviewed-by: Tom Rix --- v2:Follow write function to fix read function. Adding mutex init in core probe function. Adding break in switch case at read and write function

Re: [PATCH v2] iio: imu: bmi160: add mutex_lock for avoiding race

2021-01-19 Thread Guoqing Chi
On Tue, 19 Jan 2021 06:54:45 -0800 Tom Rix wrote: > On 1/19/21 3:22 AM, Guoqing Chi wrote: > > From: chiguoqing > > > > Adding mutex_lock, when read and write reg need to use this lock to > > avoid race. > > > > Signed-off-by: Guoqing Chi > >