]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: uniphier: Fix reference to PCM buffer address
authorTakashi Iwai <tiwai@suse.de>
Wed, 28 Jul 2021 11:23:52 +0000 (13:23 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 30 Jul 2021 16:20:50 +0000 (17:20 +0100)
commitd37597306c580130096bee7c1549df915c4bec84
tree03126019dba4fde647f8417efc576ef709d59332
parentb06f748b0af0744392532b8676b8bcb1c7c82843
ASoC: uniphier: Fix reference to PCM buffer address

Along with the transition to the managed PCM buffers, the driver now
accepts the dynamically allocated buffer, while it still kept the
reference to the old preallocated buffer address.  This patch corrects
to the right reference via runtime->dma_addr.

(Although this might have been already buggy before the cleanup with
the managed buffer, let's put Fixes tag to point that; it's a corner
case, after all.)

Fixes: 151bfbef0aba ("ASoC: uniphier: Use managed buffer allocation")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20210728112353.6675-5-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/uniphier/aio-dma.c