Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1396660pxy; Sun, 1 Aug 2021 23:58:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKsvIbDrIYC3Li4cOLoOxXS8N/5ZZqAECek5ZRch9pAzzMucrOII3CfHtd/P/Hi2YNe5AW X-Received: by 2002:a92:7f03:: with SMTP id a3mr1462513ild.254.1627887524196; Sun, 01 Aug 2021 23:58:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627887524; cv=none; d=google.com; s=arc-20160816; b=yp8cMlP+4EFWKqYIMGYxQBVxky7ZzALXpFjzfy/oWJFrR34PvIbMqOfD8OGJrirkWM klIj/OIKYwDjdz3qyMlpeLgvf4+U1VKEXfJ9G4Q2A5oIgfVFzOrk52+jNyYp59fLnQfo 7KYRl0aFD63KlFUG4oaQl6SbxJY8enVJT0wWlQFvT+0JNm5h9xiS2mbj5PG3LvagaIms 94ifmfo+bly+WLIHPE1HkcP3TId64FCizd3hg8Ba+tfaOl0B9ynPXBHcqA3RT3Dp2zDp yq2HsvDOVqHt8P7NERfJOx7cgreO3fHPALnYMIpl6Txje4t/jD7R5SqtuS4PsbyJihVW 2anA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lbuIw5PYnGALWr8WKsyTqW0SiupbmjDtAqsAs6JicUc=; b=QfU4VgoZ6rxZytkwAsN4HqzjhjALzwZvlxhuOIkcfAIVC/ZwUrUCAB0nYJ6MDRWQ6k IxxwkSsJSkkUm/lvFtiWlYs7BCV5fPXxIKzZL6hi2/jXRNKbykxcrWl7ucbf0av/J946 1N3iiJeZ95qFTIy5i1A/+GgX0z6wKFJQUYzgxa1scV8KjE7oFHHI5EXqI+tTi5dNkguk HihGjClTMTiTQ0r/2XUpPwriVp3aWYN04t1jt2I7ApPUHkOmUx3Y6gDDmiY2ho+bnuix bReryMgrROKNNUo9/66noddF6xci2h5RfPYeQT3PpQmxXGu6EBpzjzcvTD0+bef/LmJm +OIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QhqMeE5g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g7si11534204ioh.47.2021.08.01.23.58.32; Sun, 01 Aug 2021 23:58:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QhqMeE5g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232342AbhHBG6C (ORCPT + 99 others); Mon, 2 Aug 2021 02:58:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:54258 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231410AbhHBG6B (ORCPT ); Mon, 2 Aug 2021 02:58:01 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 66BE060F11; Mon, 2 Aug 2021 06:57:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627887472; bh=rXv/V219Iq9Dj/9J2Kc7l/iH5bQ7K0iwclj82DEEgbI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QhqMeE5gV4gtlIYrpAwjLC2gAeFgaM0+c7lkNw+uf9/U/u1ruUBS2gCjOHeb4RALj Bghia3zCSjrkTquUJbTAERMgs2RoR5kabqbFRXkBAOW9R0kjyg8gCFK8tRGD3NpnXF q3YzNV9B72XLZOriikLb/Q4MmEA2X0OGc9KCbk9WDLU//opvJipQUFuWF5KicQkRNW p4w781y+9DlS27mD1mNl1nPpPNPEuxKA8m0DZeE/+5zZDVU5ZO2u2q96gnc2EC5b2c x/HhPx8sn2mgCi/DcNmn7M/KLNTDPNNxl8vAjCFQfP1v/YC4KMtLEkkLIlmcDcXDbT gyQKaXc5mnRDw== Date: Mon, 2 Aug 2021 12:27:48 +0530 From: Vinod Koul To: Nikita Shubin Cc: Alexander Sverdlin , Geert Uytterhoeven , "open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM" , open list Subject: Re: [PATCH v2 5/8] dmaengine: ep93xx: Prepare clock before using it Message-ID: References: <20210726115058.23729-1-nikita.shubin@maquefel.me> <20210726140001.24820-1-nikita.shubin@maquefel.me> <20210726140001.24820-6-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210726140001.24820-6-nikita.shubin@maquefel.me> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26-07-21, 16:59, Nikita Shubin wrote: > From: Alexander Sverdlin > > Use clk_prepare_enable()/clk_disable_unprepare() in preparation for switch > to Common Clock Framework, otherwise the following is visible: > > WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:1011 clk_core_enable+0x9c/0xbc > Enabling unprepared m2p0 > ... > Hardware name: Cirrus Logic EDB9302 Evaluation Board > ... > clk_core_enable > clk_core_enable_lock > ep93xx_dma_alloc_chan_resources > dma_chan_get > find_candidate > __dma_request_channel > snd_dmaengine_pcm_request_channel > dmaengine_pcm_new > snd_soc_pcm_component_new > soc_new_pcm > snd_soc_bind_card > edb93xx_probe > ... > ep93xx-i2s ep93xx-i2s: Missing dma channel for stream: 0 > ep93xx-i2s ep93xx-i2s: ASoC: error at snd_soc_pcm_component_new on ep93xx-i2s: -22 > edb93xx-audio edb93xx-audio: ASoC: can't create pcm CS4271 HiFi :-22 > edb93xx-audio edb93xx-audio: snd_soc_register_card() failed: -22 > edb93xx-audio: probe of edb93xx-audio failed with error -22 Applied, thanks -- ~Vinod