Thread (4 messages) flat view 4 messages, 4 authors, 2021-12-14

Re: [PATCH] ASoC: mediatek: assign correct type to argument

From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Date: 2021-12-09 15:03:10
Also in: alsa-devel, linux-arm-kernel, lkml

Il 09/12/21 08:32, Jiaxin Yu ha scritto:
Fix the following sparse warning: (new ones prefixed by >>)
quoted
quoted
sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c:370:33:
      sparse: sparse: incorrect type in argument 3 (different base types)
    sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c:370:33: sparse:
      expected unsigned int to
    sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c:370:33: sparse:
      got restricted snd_pcm_format_t [usertype]

Correct discription of format, use S32_LE and S24_LE to distinguish the
different 32bit.

Signed-off-by: Jiaxin Yu <redacted>
Reported-by: kernel test robot <redacted>
Reviewed-by: Tzung-Bi Shih <redacted>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help