ASoC: nau8824: fix spelling mistake: "semaphone" -> "semaphore"
Trivial fix to spelling mistake in dev_warn messages Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Родитель
aaa730ca3f
Коммит
2ce7eb2589
|
@ -205,11 +205,11 @@ static int nau8824_sema_acquire(struct nau8824 *nau8824, long timeout)
|
|||
if (timeout) {
|
||||
ret = down_timeout(&nau8824->jd_sem, timeout);
|
||||
if (ret < 0)
|
||||
dev_warn(nau8824->dev, "Acquire semaphone timeout\n");
|
||||
dev_warn(nau8824->dev, "Acquire semaphore timeout\n");
|
||||
} else {
|
||||
ret = down_interruptible(&nau8824->jd_sem);
|
||||
if (ret < 0)
|
||||
dev_warn(nau8824->dev, "Acquire semaphone fail\n");
|
||||
dev_warn(nau8824->dev, "Acquire semaphore fail\n");
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Загрузка…
Ссылка в новой задаче