summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/boards/cml_rt1011_rt5682.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-02-02 10:07:24 +0100
committerTakashi Iwai <tiwai@suse.de>2020-02-02 10:08:33 +0100
commit112e3f5ac505ea0f1e3c59cc757db3c45252c41d (patch)
tree099e01cd31d44f3dfecdc5b1eb5551f50681b6e9 /sound/soc/intel/boards/cml_rt1011_rt5682.c
parent81b450909bfb4b71b4ae1c07add4feada32892bd (diff)
downloadlinux-112e3f5ac505ea0f1e3c59cc757db3c45252c41d.tar.bz2
ALSA: hdsp: Make the firmware loading ioctl a bit more readable
The firmware loading ioctl that is implemented for hdsp hwdep device takes the reference of the address pointer, hence the current code is rather confusing. Also, due to the recent change in uapi header, sparse also complains about the cast. This patch tries to improve the readability by converting the straightforward copy_from_user of the whole struct (which contains only the pointer). Fixes: d63e63d42107 ("ALSA: hdsp: Make uapi/hdsp.h compilable again") Link: https://lore.kernel.org/r/20200202090724.18232-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/intel/boards/cml_rt1011_rt5682.c')
0 files changed, 0 insertions, 0 deletions