aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/media.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/usb/media.c')
-rw-r--r--sound/usb/media.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/media.c b/sound/usb/media.c
index 44a5de91f748..0d03773b4c67 100644
--- a/sound/usb/media.c
+++ b/sound/usb/media.c
@@ -135,7 +135,7 @@ void media_snd_stream_delete(struct snd_usb_substream *subs)
if (mctl && mctl->media_dev) {
struct media_device *mdev;
- mdev = subs->stream->chip->media_dev;
+ mdev = mctl->media_dev;
if (mdev && media_devnode_is_registered(&mdev->devnode)) {
media_devnode_remove(mctl->intf_devnode);
media_device_unregister_entity(&mctl->media_entity);

Privacy Policy