Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp407070ima; Fri, 1 Feb 2019 05:17:41 -0800 (PST) X-Google-Smtp-Source: AHgI3IbyD/KM1t0jkowLfW/25GVgkat7wyOXlEJZJxJ5ahQK+Q78JCMydjTa/nt9MzEK34jZrG0a X-Received: by 2002:a63:ca02:: with SMTP id n2mr2268630pgi.187.1549027061859; Fri, 01 Feb 2019 05:17:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549027061; cv=none; d=google.com; s=arc-20160816; b=RcOYHodOKA3vSl9c1Vj3GheHZYW0E30Io3F4jnCqDHhlPjZ5SVO25VYdTr+aV45I6q 4Z07pqx3gV4inILy6+kw6jFRB/88OELqDdzgkJ4MJxSHPv5Prx7DPa5w9X9C17M8kVN+ KDBAd9u/OlIPtLY7S6xMvbfjnoHfKJyn/dklF5CKz/IZsm/w0f7Wfw/5U/athMPT0UEb SedJKJsmIV2N80G8kG3wgaPktsT+dHy3G+h4kPDUOd8UfE7ouXZzKH05UBiWw5s9W+p8 vsl259deQcSFCPW5BE+UpnX2jqL3mSFMTwNv89NW6QPbHuE+Ve/bek9mLEZFDZ0gR961 asaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=A1SwWDGyhJXc6nOeESnKtIif7s42CkxZWU660PIA58Q=; b=BPe1DA6hmF2MlH7ZZwHXK+f6K/difVx7DIWgpucGnLkjMzSUmmx/iafrMilmu4+10V vITz0f+wqucPz9xRweG33uOJokCvCWdBnai0ZK52iJnxgin28enLciEmHQncwyiPqX4W xHlh+c/SNJWG2cHBINPQJ0vupEDr5s4cYDHXI2XQP1AU4087f7qnYAmsPItiTDkk+OGB jc2RPf2YLwfM0LMpPOBjPykOLYQ7YVaYeqLpDt+tN0ZhKyprPJJlKskvIJao0Dj0mnlX ye34BgdIK/Pg8FgGkm9ElI9lJOoBIuGhVRNADsL6njYPJoKqLFrjPX1RLd9gZ4xsmOv9 TY/A== ARC-Authentication-Results: i=1; mx.google.com; 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 m75si199897pfj.53.2019.02.01.05.17.26; Fri, 01 Feb 2019 05:17:41 -0800 (PST) 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; 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 S1730047AbfBANMs (ORCPT + 99 others); Fri, 1 Feb 2019 08:12:48 -0500 Received: from mx2.suse.de ([195.135.220.15]:37502 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726734AbfBANMs (ORCPT ); Fri, 1 Feb 2019 08:12:48 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 55521ACA9; Fri, 1 Feb 2019 13:12:46 +0000 (UTC) Date: Fri, 01 Feb 2019 14:12:45 +0100 Message-ID: From: Takashi Iwai To: Christoph Hellwig Cc: John Crispin , Vinod Koul , Dmitry Tarnyagin , Nicolas Ferre , Sudip Mukherjee , Felipe Balbi , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org, iommu@lists.linux-foundation.org Subject: Re: [alsa-devel] [PATCH 17/18] ALSA: hal2: pass struct device to DMA API functions In-Reply-To: <20190201084801.10983-18-hch@lst.de> References: <20190201084801.10983-1-hch@lst.de> <20190201084801.10983-18-hch@lst.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 01 Feb 2019 09:48:00 +0100, Christoph Hellwig wrote: > > The DMA API generally relies on a struct device to work properly, and > only barely works without one for legacy reasons. Pass the easily > available struct device from the platform_device to remedy this. > > Signed-off-by: Christoph Hellwig Looks good to me: Reviewed-by: Takashi Iwai Shall I take this one through sound git tree or all through yours? thanks, Takashi