diff options
author | Jie Yang <yang.jie@intel.com> | 2015-01-04 04:15:04 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-05 23:00:20 +0300 |
commit | d83901e82010cb3b25e69a9bbe991e9fbd940725 (patch) | |
tree | b0b8e91a4a08d75f2b03d95a488a950a453ef7eb /drivers/net/ethernet/s6gmac.c | |
parent | 25f97549b5a19a373922e07c3e0f0b0b56a49148 (diff) | |
download | linux-d83901e82010cb3b25e69a9bbe991e9fbd940725.tar.xz |
ASoC: Intel: Don't change offset of block allocator during fixed allocate
The offset of block allocator, ba->offset, should not be changed during
fixed address allocating, for the caller may treat it as the offset of
allocated memory and use it. In the case that we allocate more than 1
blocks, we should make sure this offset is correct.
Here introduces a temp allocator for the later continuous allocating.
Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/s6gmac.c')
0 files changed, 0 insertions, 0 deletions