Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp634559ybl; Thu, 22 Aug 2019 02:28:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxA+rmcB5NlxXYUAcEoAfyltfr5kf0hxv3jlTC2iCM4hY9WpGoIosJeT5kn65ZoOxrWB5zI X-Received: by 2002:a65:52ca:: with SMTP id z10mr33689869pgp.424.1566466093223; Thu, 22 Aug 2019 02:28:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566466093; cv=none; d=google.com; s=arc-20160816; b=uI9y2MLXfYlxE+gQWlkfizouwS40t9O8IVTrBAt8gAVFInRFXjfSH0eGc45h2K9FMw UNQx0RqQiNOGEJJAMjVu278UAd/DPfOzUV5Dal26lKUFQK3LdRGKmFfzEB+iLNGG0l1C TizSg1eSbSXZpD7I3bELU7d0DbzMDziVcIHvRNNUtgRgnpVpkG91heyM0p6vcPvYkBOc bK9TjQpfaqnxEqLoNMvn5pFxXwSrfp675VSoi/+ugYkWhTFWIz0w6jjJFMxXqkf4Mldf uV4RhviEt6bvE2hhQgttHhGuaGEniILsM4NfDf4wTe3onCZcjAvj4modzAkHhqeWkRN8 22aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=0hPER6CzrbuECZzDx1Kv+j+5P3w5v3RiqKHpB7r+PxQ=; b=Hber6NSBl3vi5ZtR9lQn+Q5d9KbzcsGjQZPuPZ5cTQdrqNMny99PWew24P8jUIv5rs ribGNs2AcmQwYZXpeSSi3RNE+kL9mSu0wEYeZYaQFI/cmC48Edq6Cz3tZYWQmdOI6ykq PxR8p+ObfNOljx8dxSDKnhJGyU1PBl1VzCAWtTDwgWTV+vpSo9qKBKKV1gukcDqglwtL wY90kYa8MrX3FSutBOFh4QrKc+yArv8nIwGcpzHPLwtvGk/7Btf0cDDC/T+9+XFD3VRK 5i3pd30CJ3s4j/R3wgBYz2yH94ZJ7H+p6m/aNMZ3eTM6fx/qTrWr5h+7KYhNSn7UMld7 KTiw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si17420876plw.253.2019.08.22.02.27.57; Thu, 22 Aug 2019 02:28:13 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731541AbfHVHXq (ORCPT + 99 others); Thu, 22 Aug 2019 03:23:46 -0400 Received: from mga01.intel.com ([192.55.52.88]:6996 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728104AbfHVHXp (ORCPT ); Thu, 22 Aug 2019 03:23:45 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Aug 2019 00:23:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,415,1559545200"; d="scan'208";a="378408813" Received: from gliakhov-mobl2.ger.corp.intel.com (HELO ubuntu) ([10.249.36.176]) by fmsmga005.fm.intel.com with ESMTP; 22 Aug 2019 00:23:39 -0700 Date: Thu, 22 Aug 2019 09:23:39 +0200 From: Guennadi Liakhovetski To: Pierre-Louis Bossart Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, tiwai@suse.de, broonie@kernel.org, vkoul@kernel.org, gregkh@linuxfoundation.org, jank@cadence.com, srinivas.kandagatla@linaro.org, slawomir.blauciak@intel.com, Bard liao , Rander Wang , Ranjani Sridharan , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Zhu Yingjiang , YueHaibing , Kai Vehmanen , Arnd Bergmann Subject: Re: [RFC PATCH 4/5] ASoC: SOF: Intel: hda: add SoundWire stream config/free callbacks Message-ID: <20190822072338.GA30465@ubuntu> References: <20190821201720.17768-1-pierre-louis.bossart@linux.intel.com> <20190821201720.17768-5-pierre-louis.bossart@linux.intel.com> <20190822071835.GA30262@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190822071835.GA30262@ubuntu> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 22, 2019 at 09:18:35AM +0200, Guennadi Liakhovetski wrote: [snip] > > static int hda_sdw_init(struct snd_sof_dev *sdev) > > { > > acpi_handle handle; > > @@ -67,6 +131,8 @@ static int hda_sdw_init(struct snd_sof_dev *sdev) > > res.mmio_base = sdev->bar[HDA_DSP_BAR]; > > res.irq = sdev->ipc_irq; > > res.parent = sdev->dev; > > + res.ops = &sdw_callback; > > + res.arg = sdev; > > > > sdw = sdw_intel_init(handle, &res); > > if (!sdw) { > > Hm, looks like this function is using spaces for indentation... Let me check > if this is coming from an earlier patch Ouch, it's mutt or whatever editor it's using... Sorry for the noise. Thanks Guennadi