Re: [PATCH] ASoC: mediatek: mt8192-mt6359: Set the driver name for the card

From: AngeloGioacchino Del Regno
Date: Fri Sep 30 2022 - 04:31:20 EST


Il 29/09/22 22:54, Nícolas F. R. A. Prado ha scritto:
The ASoC core automatically populates the driver name field in the card
from the card name if left unset. However, since the driver name can be
at most 16 characters long, wrapping will happen if the card name is
longer, which is the case for the mt8192-mt6359 driver.

Explicitly set the driver name for the card in order to avoid said
wrapping and have a readable driver name exposed to userspace.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>

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