audio/pcm_decode: fix typo in assert condition

should be shutdown not start

Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
chao an 2025-03-09 20:17:06 +08:00 committed by Alan C. Assis
parent 9c55a19238
commit b802632761

View File

@ -804,7 +804,7 @@ static int pcm_shutdown(FAR struct audio_lowerhalf_s *dev)
/* Defer the operation to the lower device driver */
lower = priv->lower;
DEBUGASSERT(lower && lower->ops->start);
DEBUGASSERT(lower && lower->ops->shutdown);
audinfo("Defer to lower shutdown\n");
return lower->ops->shutdown(lower);