Message ID | CAJ+F1C+NpMcr+Kx9uOYbmjrPf2bQ5LBh+qVosG1OWMVi6wqJgg@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B121B60476 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 13 Dec 2016 17:45:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 84DAB28638 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 13 Dec 2016 17:45:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7572A2863D; Tue, 13 Dec 2016 17:45:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 67CE928638 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 13 Dec 2016 17:45:31 +0000 (UTC) Received: from localhost ([::1]:39810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1cGr8r-0005YJ-Ih for patchwork-qemu-devel@patchwork.kernel.org; Tue, 13 Dec 2016 12:45:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1cGr8Z-0005Xu-06 for qemu-devel@nongnu.org; Tue, 13 Dec 2016 12:45:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1cGr8U-0002rD-Dh for qemu-devel@nongnu.org; Tue, 13 Dec 2016 12:45:10 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:33655) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1cGr8U-0002qK-1r for qemu-devel@nongnu.org; Tue, 13 Dec 2016 12:45:06 -0500 Received: by mail-lf0-f67.google.com with SMTP id y21so4275884lfa.0 for <qemu-devel@nongnu.org>; Tue, 13 Dec 2016 09:45:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/c/02boD+W5beo+cqz2bjXmcylTEo+UmG3jHct+MUVY=; b=X7CfO8M7wwnxg8EM3pdQHULvXOFyI/mtvA8jYIQrlZ5QfgQTnryI6sXkclGbq/832s 1z8hUZaBdkimdpcdExbjNNPP8+WMIYlTpoVSzFM+HAH9hJjfsU2YboVmW2OXYsEQaEgv sFHX8U1qVUyp4ReDes+KmrMIQE3a7Df7RQ4pMxd/9Irva1gsgeLhQRKqQZlinrpN5ghO EjjpFySFecbGunYbAatJlqnh+GW8VL/7rxQf6QN9y5hDPuyYuadacm8WuDyN2oH8dvRF n9it0rrBz/w7ZY+zmISRwI+JZ9j4v19muyfg2yD4CGQuqGNLvaOqu2ejkvIFKDCSPf2l 3J/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/c/02boD+W5beo+cqz2bjXmcylTEo+UmG3jHct+MUVY=; b=FbGV0GHYGOBw2ebp42UZP7eIZ/F/Ac0dIZ+rJrg3Eiv/UefYHr6Eh02LfAuatwVPQe jUb/w/rZcNPDXyhi9NbSxZu5IZ5maVzW5hIQHpaUKbCCS/F6xWiOgvEGjwQbIgp9EdC8 durjdD41UabY2S12zAU/UolnspF3Jrdk5fchsRmPhyON49hq2Z2xjEI9VZn1+AEkCLaJ cP7HaPAXyTRnd8do1XJ4l+XnZ9Ho8l1zc+XUAYOpfJabTU8+MdYYBQzXSZpUoZtcEsZB 17csqYA5Y9j0XCUYVJQZQP4SsbeRkCbEt1xgGmqkCv/tQ3AZyXzS4yvbqt/MVhquR59r xC+A== X-Gm-Message-State: AKaTC01fYfei5eItGEK//Dvt1WmLy8RV/O4oNdVHJzYTl32kTtMyRx9ZoAkY105mYJqw89PGkjjt53UO7c9PNg== X-Received: by 10.25.209.73 with SMTP id i70mr25222791lfg.24.1481651044441; Tue, 13 Dec 2016 09:44:04 -0800 (PST) MIME-Version: 1.0 References: <583d59a6.dcc6370a.3a361.b5d4@mx.google.com> <CAKXe6S+BB_72vZLWDhJk65Qm1Uh-2COKEEwM9YyaCF4aL1x1nA@mail.gmail.com> In-Reply-To: <CAKXe6S+BB_72vZLWDhJk65Qm1Uh-2COKEEwM9YyaCF4aL1x1nA@mail.gmail.com> From: =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= <marcandre.lureau@gmail.com> Date: Tue, 13 Dec 2016 17:43:53 +0000 Message-ID: <CAJ+F1C+NpMcr+Kx9uOYbmjrPf2bQ5LBh+qVosG1OWMVi6wqJgg@mail.gmail.com> To: Li Qiang <liq3ea@gmail.com>, kraxel@redhat.com, qemu-devel@nongnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.67 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Re: [Qemu-devel] [PATCH] audio: ac97: add exit function X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Li Qiang <liqiang6-s@360.cn> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
--- a/hw/audio/ac97.c +++ b/hw/audio/ac97.c @@ -1391,6 +1391,9 @@ static void ac97_exit(PCIDevice *dev) { AC97LinkState *s = DO_UPCAST(AC97LinkState, dev, dev); + AUD_close_in (&s->card, s->voice_pi); + AUD_close_out (&s->card, s->voice_po); + AUD_close_in (&s->card, s->voice_mc); AUD_remove_card(&s->card); }