summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorLauri Peltonen <lpeltonen@nvidia.com>2014-01-09 00:27:45 +0200
committerTerje Bergstrom <tbergstrom@nvidia.com>2014-02-06 01:24:19 -0800
commit444597afa61b09cd09d81b0cdf9a88c0c140f1f6 (patch)
treedfecba89fc8b5b821d1c63e9bc3e9887c81e6da8 /sound/pci
parent1e3dd9b657b72e022188b18410b9706bb2fae53e (diff)
video: tegra: host: Null out channel vm on free
Leaving a pointer to vm in the list of unused channels list is dangerous, since the vm may get free'd after the channel is released. Also detect if a channel is bound by testing whether the vm pointer is null. This eliminates a dependency to nvhost_hwctx. Bug 1434573 Change-Id: I754cfb56a3d9c05520d99d4a9805d0720a779c12 Signed-off-by: Lauri Peltonen <lpeltonen@nvidia.com> Reviewed-on: http://git-master/r/353454 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions