summaryrefslogtreecommitdiff
path: root/sound/mips
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2020-11-24 12:57:07 +0100
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2020-11-25 10:48:28 +0100
commitbf8975837dac156c33a4d15d46602700998cb6dd (patch)
tree7bac66a93ef0397f6ca4eb738f56c739b5aa1b7b /sound/mips
parenta14c6b0eef771c017c3549490fc321f3cd5c0e32 (diff)
dma-buf/dma-resv: Respect num_fences when initializing the shared fence list.
We hardcode the maximum number of shared fences to 4, instead of respecting num_fences. Use a minimum of 4, but more if num_fences is higher. This seems to have been an oversight when first implementing the api. Fixes: 04a5faa8cbe5 ("reservation: update api and add some helpers") Cc: <stable@vger.kernel.org> # v3.17+ Reported-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201124115707.406917-1-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions