summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2020-02-09 19:33:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-01 11:11:53 +0200
commitd53a81303f95e2510bd14792dbe7e40e3a07daa6 (patch)
treedf40bb08ad857d00f86577f06e5572302fa259b4 /drivers/gpu/drm/amd/amdgpu/atom.c
parent2105d207a7266aaf2ccef8e99255b30918bb19f6 (diff)
dmaengine: tegra-apb: Prevent race conditions on channel's freeing
[ Upstream commit 8e84172e372bdca20c305d92d51d33640d2da431 ] It's incorrect to check the channel's "busy" state without taking a lock. That shouldn't cause any real troubles, nevertheless it's always better not to have any race conditions in the code. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Acked-by: Jon Hunter <jonathanh@nvidia.com> Link: https://lore.kernel.org/r/20200209163356.6439-5-digetx@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions