summaryrefslogtreecommitdiff
path: root/sound/firewire/iso-resources.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-03-13 13:30:00 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-03-13 13:30:00 -0700
commitbbc54a00d8a3f664cb4bd9619a5c33d75f13d62b (patch)
treeed945fff5c68ba29fa3f22a76157bd1032e9b72a /sound/firewire/iso-resources.c
parent3d52c5bdbe57e2b45d9cc8da930b9ab42b5198c4 (diff)
parentef403edb75580a3ec5d155f5de82155f0419c621 (diff)
downloadlinux-exynos-bbc54a00d8a3f664cb4bd9619a5c33d75f13d62b.tar.gz
linux-exynos-bbc54a00d8a3f664cb4bd9619a5c33d75f13d62b.tar.bz2
linux-exynos-bbc54a00d8a3f664cb4bd9619a5c33d75f13d62b.zip
Merge tag 'sound-4.0-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound fixes from Takashi Iwai: "This is a round of HD-audio fixes: there are a long-standing regression fix and a few more device/codec-specific quirks. In addition, a couple of FireWire regression fixes, a USB-audio quirk for Roland UA-22 and a sanity check in API for user-defined control elements" * tag 'sound-4.0-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ALSA: hda - Don't access stereo amps for mono channel widgets ALSA: hda - Add workaround for MacBook Air 5,2 built-in mic ALSA: hda - Set single_adc_amp flag for CS420x codecs ALSA: snd-usb: add quirks for Roland UA-22 ALSA: control: Add sanity checks for user ctl id name string ALSA: hda - Fix built-in mic on Compaq Presario CQ60 ALSA: firewire-lib: leave unit reference counting completely Revert "ALSA: dice: fix wrong offsets for Dice interface" ALSA: hda - Fix regression of HD-audio controller fallback modes
Diffstat (limited to 'sound/firewire/iso-resources.c')
-rw-r--r--sound/firewire/iso-resources.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/firewire/iso-resources.c b/sound/firewire/iso-resources.c
index 5f17b77ee152..f0e4d502d604 100644
--- a/sound/firewire/iso-resources.c
+++ b/sound/firewire/iso-resources.c
@@ -26,7 +26,7 @@
int fw_iso_resources_init(struct fw_iso_resources *r, struct fw_unit *unit)
{
r->channels_mask = ~0uLL;
- r->unit = fw_unit_get(unit);
+ r->unit = unit;
mutex_init(&r->mutex);
r->allocated = false;
@@ -42,7 +42,6 @@ void fw_iso_resources_destroy(struct fw_iso_resources *r)
{
WARN_ON(r->allocated);
mutex_destroy(&r->mutex);
- fw_unit_put(r->unit);
}
EXPORT_SYMBOL(fw_iso_resources_destroy);