]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: rt5663: fix a debug statement
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 13 Oct 2016 08:47:13 +0000 (11:47 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 13 Oct 2016 13:01:32 +0000 (15:01 +0200)
commitc975e39ccadf6dc047356c60773a043a2293b8cd
tree92f39190b50557bba806288797ba6ae43ba8bfa6
parent513e43efafe329dad7b5794583b67ac898dcbdca
ASoC: rt5663: fix a debug statement

We increment "i" before printing the debug statement.  That makes it
the wrong sleep_time[] information and Smatch complains that the last
increment could be beyond the end of the array.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5663.c