commit | 2d35526df9b17db9a1e04d8eda538a44541dde66 | [log] [tgz] |
---|---|---|
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | Wed May 22 14:47:28 2019 -0500 |
committer | Vinod Koul <vkoul@kernel.org> | Mon May 27 10:53:00 2019 +0530 |
tree | e366322d013895a6dc2d3a5f22d9a36a62006654 | |
parent | a78b32d9c36bd25f96a1fe2e610712e119c86afb [diff] |
soundwire: cadence_master: check the number of bidir PDIs There is an assumption that the first two PDIs are reserved for Bulk, so we need to make sure the number of bidir PDIs is indeed larger than two. If the configuration provided is incorrect, this could lead to allocating a huge amount of memory. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>