diff options
author | Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> | 2018-11-30 10:42:05 +0300 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2018-12-18 20:19:37 +0300 |
commit | 58f9d806d16a38ed3bae11e2ada83393436a4956 (patch) | |
tree | 85823c492450b944b207f1004fee08462ba55d43 /sound/xen/xen_snd_front.h | |
parent | 5641f19bdfc4193f1c2d5a829896c25dd5c0ec3d (diff) | |
download | linux-58f9d806d16a38ed3bae11e2ada83393436a4956.tar.xz |
ALSA: xen-front: Use Xen common shared buffer implementation
Use page directory based shared buffer implementation
now available as common code for Xen frontend drivers.
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'sound/xen/xen_snd_front.h')
-rw-r--r-- | sound/xen/xen_snd_front.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/xen/xen_snd_front.h b/sound/xen/xen_snd_front.h index a2ea2463bcc5..05611f113b94 100644 --- a/sound/xen/xen_snd_front.h +++ b/sound/xen/xen_snd_front.h @@ -16,7 +16,7 @@ struct xen_snd_front_card_info; struct xen_snd_front_evtchnl; struct xen_snd_front_evtchnl_pair; -struct xen_snd_front_shbuf; +struct xen_front_pgdir_shbuf; struct xensnd_query_hw_param; struct xen_snd_front_info { @@ -35,7 +35,7 @@ int xen_snd_front_stream_query_hw_param(struct xen_snd_front_evtchnl *evtchnl, struct xensnd_query_hw_param *hw_param_resp); int xen_snd_front_stream_prepare(struct xen_snd_front_evtchnl *evtchnl, - struct xen_snd_front_shbuf *sh_buf, + struct xen_front_pgdir_shbuf *shbuf, u8 format, unsigned int channels, unsigned int rate, u32 buffer_sz, u32 period_sz); |