ALSA: oxfw: fix memory leak of discovered stream formats at error path
[linux-2.6-microblaze.git] / sound / usb / card.h
index 9b41b7d..ac785d1 100644 (file)
@@ -37,6 +37,7 @@ struct audioformat {
 
 struct snd_usb_substream;
 struct snd_usb_endpoint;
+struct snd_usb_power_domain;
 
 struct snd_urb_ctx {
        struct urb *urb;
@@ -115,6 +116,7 @@ struct snd_usb_substream {
        int interface;  /* current interface */
        int endpoint;   /* assigned endpoint */
        struct audioformat *cur_audiofmt;       /* current audioformat pointer (for hw_params callback) */
+       struct snd_usb_power_domain *str_pd;    /* UAC3 Power Domain for streaming path */
        snd_pcm_format_t pcm_format;    /* current audio format (for hw_params callback) */
        unsigned int channels;          /* current number of channels (for hw_params callback) */
        unsigned int channels_max;      /* max channels in the all audiofmts */