summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_dsp_platform_compress.c
diff options
context:
space:
mode:
authorSherry Sun <sherry.sun@nxp.com>2020-10-27 10:31:29 +0800
committerSherry Sun <sherry.sun@nxp.com>2020-10-29 13:03:16 +0800
commit8699702733b46cc827f260744578ddd2d571e60e (patch)
tree4a32306b00f7a9bc1b0abc528ca4d2d3a78b9585 /sound/soc/fsl/fsl_dsp_platform_compress.c
parent0363ee5ac7452b518175b1a4764190b41f759572 (diff)
MLK-24934 mic: imx-host: fix kernel panic when cat /sys/class/mic/mic0/family&stepping
Since we didn't implement the family and stepping function callbacks for cosm_hw_op, when cat /sys/class/mic/mic0/family and /sys/class/mic/mic0/stepping at userspace will cause kernel panic: root@imx8qmmek:~# cat /sys/class/mic/mic0/family [ 44.736286] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 root@imx8qmmek:~# cat /sys/class/mic/mic0/stepping [ 66.614414] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 So add family and stepping callbacks to avoid kernel panic. Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_dsp_platform_compress.c')
0 files changed, 0 insertions, 0 deletions