]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: intel: Don't print FW version repeatedly
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Mar 2017 08:39:58 +0000 (10:39 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 27 Mar 2017 11:30:55 +0000 (12:30 +0100)
commit76b8e2e9237e2f796c6f4e4fc5da27d278cef1f2
tree7f6181c34c8369871cbf96477b0a5de714ae1ef4
parent8b3d2e3b001c0fe16c47eb6294e6325dab49d106
ASoC: intel: Don't print FW version repeatedly

Intel SST driver spews an info message "FW Versoin xxxx" at each time
the device gets initialized.  Since it's triggered at each PM (or even
runtime PM), it appears so ofetn, and rather becomes annoying than
useful.

This patch suppresses the superfluous messages by checking the
currently loaded FW version with the previously loaded one.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst/sst_ipc.c