ASoC: hdac_hdmi: Fix static checker warning for sprintf usage
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Tue, 7 Nov 2017 10:46:24 +0000 (16:16 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 8 Nov 2017 18:58:20 +0000 (18:58 +0000)
commit70e97a2d9c5266487dfec4cade28f8e587927f04
tree4799fc0700999f05f08354636d72a7ee15fe5188
parentd956147473ec1843c2660a89ef0fba80b66c6657
ASoC: hdac_hdmi: Fix static checker warning for sprintf usage

Use snprintf instead of sprintf to shut the warning.

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c