Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3011338ybi; Mon, 17 Jun 2019 14:38:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWEgMqUfIsK9Q9AoXdVd0QMZv8pOEZAZ9JQsS2sHhMXMP2Pmep0oWYjR7GjE6R8YkoveWp X-Received: by 2002:a62:5cc6:: with SMTP id q189mr115617320pfb.114.1560807519052; Mon, 17 Jun 2019 14:38:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560807519; cv=none; d=google.com; s=arc-20160816; b=kS6SlkE2D1B6qdSZ6xhuW0Ylnxk6R1mZRdHkcuaVl0CkRfRjIoA0gBoreMgh9FAgpt jP2w87Iam+CgQd7aUtqI+aj63MmRxjwljUw+N3IFc+5I1+9skii3qGbQXgOh/a1vF0V2 MvB9TPZX/nijD3GQPpSU2Aw/M4y14mH+xdA7BWYQy3Gd/mpFcGI/4j/bQCm1mtEaO2aT QWsGqYAXQQlD1l+2h2bGGg810ZGQaK6lg4Zc3s75EIxUWQnqEeTLyDc1cy02aekDhSmT WcZjxrc3gb0SQl7pnhL9oxGtTR5fvNfuhVg8NWZnS1iTwfX/KVUCjde5FqtT/pPNgVAe 9h2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=FPn5ieAseo8CWW8prNfjaz+jJZhwOxpYmk1ZAYTeX5o=; b=OGYxKE8TvumoZxOkeujTrx+6BkXZhZ1hgjG4xYuJYs9wF6RPdEJdMG6hOFKLi4CBiO hNnwSRtnlUtjSjW0XHwkL6JUB6zvYt8W0dOBPTo7MbzLBHuSHJAC9xw04FkBEVCAL/G7 atGmSF1At9Bi06Qic6wMK8CiLcHtn8tXeued35jSfOlq2Gl1XoCnWQITU/JH8otpkYgj eSCVu1KJ8hIq/ki1a11bgFd2o87Q3C3fzxqJxJHczb2m7kB9WkFgkhtX//tHIwxOrKg2 lvsvZljmVWvjewNEb5mF0yuHm0lMeEaBCE+u74GIZtTJzxIYnNnpRwtk4YYG0X6LWQdj LYcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R4IG6ekk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cj11si11269475plb.373.2019.06.17.14.38.24; Mon, 17 Jun 2019 14:38:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R4IG6ekk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728285AbfFQVSy (ORCPT + 99 others); Mon, 17 Jun 2019 17:18:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:42434 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727633AbfFQVSw (ORCPT ); Mon, 17 Jun 2019 17:18:52 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 451A4208E4; Mon, 17 Jun 2019 21:18:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560806331; bh=/W2GDSSfhmcFCYLBTRD+1nC0aSX/pAnuIWfuvhvjAt0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R4IG6ekk+2zkb66w50V3UkXJieU3KoCjrVOPnYgyH2OkmLsppJGcY8xAhhWtPIs63 7H/G98BYTzPPfwt0xM0ePz1AYX+2j6bTTnAicHLmlGZRQKPKIDWci3BDqmzgzr6QKT KKXZEJrKqRqGSJJFi2OWzWSEeKfCeYscFoEEWMao= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Takashi Sakamoto , Takashi Iwai Subject: [PATCH 5.1 016/115] ALSA: firewire-motu: fix destruction of data for isochronous resources Date: Mon, 17 Jun 2019 23:08:36 +0200 Message-Id: <20190617210800.749785305@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190617210759.929316339@linuxfoundation.org> References: <20190617210759.929316339@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Takashi Sakamoto commit 0e3fb6995bfabb23c172e8b883bf5ac57102678e upstream. The data for isochronous resources is not destroyed in expected place. This commit fixes the bug. Cc: # v4.12+ Fixes: 9b2bb4f2f4a2 ("ALSA: firewire-motu: add stream management functionality") Signed-off-by: Takashi Sakamoto Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/firewire/motu/motu-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/firewire/motu/motu-stream.c +++ b/sound/firewire/motu/motu-stream.c @@ -345,7 +345,7 @@ static void destroy_stream(struct snd_mo } amdtp_stream_destroy(stream); - fw_iso_resources_free(resources); + fw_iso_resources_destroy(resources); } int snd_motu_stream_init_duplex(struct snd_motu *motu)