You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
ASoC: davinci: replace private sram api with genalloc
Removes the DaVinci private SRAM API and replaces it with the genalloc API. The SRAM gen_pool is passed in pdata since DaVinci is in the early stages of DT conversion. [zonque@gmail.com: stub out gen_pool functions for !CONFIG_GENERIC_ALLOCATOR] Signed-off-by: Matt Porter <mporter@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
#ifndef __DAVINCI_ASP_H
|
||||
#define __DAVINCI_ASP_H
|
||||
|
||||
#include <linux/genalloc.h>
|
||||
|
||||
struct snd_platform_data {
|
||||
u32 tx_dma_offset;
|
||||
u32 rx_dma_offset;
|
||||
@@ -30,6 +32,7 @@ struct snd_platform_data {
|
||||
unsigned enable_channel_combine:1;
|
||||
unsigned sram_size_playback;
|
||||
unsigned sram_size_capture;
|
||||
struct gen_pool *sram_pool;
|
||||
|
||||
/*
|
||||
* If McBSP peripheral gets the clock from an external pin,
|
||||
|
||||
Reference in New Issue
Block a user