mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
iio: buffer: re-introduce bitmap_zalloc() for trialmask
Commit3862828a90("iio: buffer: Switch to bitmap_zalloc()") introduced bitmap_alloc(), but commit20ea39ef9f("iio: Fix scan mask selection") reverted it. This change adds it back. The only difference is that it's adding bitmap_zalloc(). There might be some changes later that would require initializing it to zero. In any case, now it's already zero-ing the trialmask. Appears to have been the result of merge conflict resolution rather than an intentional revert. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
7d744c8f70
commit
ccd428e42b
1 changed files with 1 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue