mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Merge branch 'for-linus' into for-next
Conflicts: sound/core/control.c
This commit is contained in:
commit
241bc82e62
13 changed files with 55 additions and 26 deletions
|
|
@ -210,9 +210,14 @@ EXPORT_SYMBOL(fw_iso_resources_update);
|
|||
*/
|
||||
void fw_iso_resources_free(struct fw_iso_resources *r)
|
||||
{
|
||||
struct fw_card *card = fw_parent_device(r->unit)->card;
|
||||
struct fw_card *card;
|
||||
int bandwidth, channel;
|
||||
|
||||
/* Not initialized. */
|
||||
if (r->unit == NULL)
|
||||
return;
|
||||
card = fw_parent_device(r->unit)->card;
|
||||
|
||||
mutex_lock(&r->mutex);
|
||||
|
||||
if (r->allocated) {
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@ static void do_registration(struct work_struct *work)
|
|||
return;
|
||||
error:
|
||||
snd_motu_transaction_unregister(motu);
|
||||
snd_motu_stream_destroy_duplex(motu);
|
||||
snd_card_free(motu->card);
|
||||
dev_info(&motu->unit->device,
|
||||
"Sound card registration failed: %d\n", err);
|
||||
|
|
|
|||
Loading…
Reference in a new issue