[PATCH] ASoC: max98383: add 88200 and 96000 sampling rate support

2019-07-30 Thread chunguo feng
From: fengchunguo 88200 and 96000 sampling rate was not enabled on driver, so can't be played. The error information: max98373 3-0031:rate 96000 not supported max98373 3-0031:ASoC: can't set max98373-aif1 hw params: -22 Signed-off-by: fengchunguo --- sound/soc/codecs/max98373.c | 6 ++

[PATCH] ASoC: max98373: add 88200 and 96000 sampling rate support

2019-07-31 Thread chunguo feng
From: fengchunguo 88200 and 96000 sampling rate was not enabled on driver, so can't be played. The error information: max98373 3-0031:rate 96000 not supported max98373 3-0031:ASoC: can't set max98373-aif1 hw params: -22 Signed-off-by: fengchunguo --- sound/soc/codecs/max98373.c | 6 ++

[PATCH] ASoC: max98383: fix i2c probe failure

2019-07-15 Thread chunguo feng
From: fengchunguo Added reset_gpio configuration for i2c probe successfully. If not,i2c address can't be found rightly. Error information: max98373 3-0031: Failed to read: 0x21FF Fixed: [3.761299@3] max98373 3-0031: MAX98373 revisionID: 0x43 [3.828911@3] asoc-aml-card auge_sound: max98373-aif1

[PATCH] tee: fix kasan check slab-out-of-bounds error.

2019-09-12 Thread chunguo feng
From: fengchunguo Physical address should be set one shifting, but not cover shm struct data. If offs was set 0, it cause KASAN error. Log: [22.345259@0] BUG: KASAN: slab-out-of-bounds in optee_handle_rpc+0x644/0x858 [22.352221@0] Read of size 4 at addr ffc0445485dc by task

[PATCH] tcp: fix tcp_disconnect() not clear tp->fastopen_rsk sometimes

2019-09-06 Thread chunguo feng
From: fengchunguo This patch avoids fastopen_rsk not be cleared every times, then occur the below BUG_ON: tcp_v4_destroy_sock ->BUG_ON(tp->fastopen_rsk); When playback some videos from netwrok,used tcp_disconnect continually. Call trace: kfree+0x210/0x250