Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp688196imm; Fri, 22 Jun 2018 03:42:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJR2mvlWnIiI78bVc6DWeQZgOQuL5SK7cfezRcf5vLCF8OOKW6K3tRGVc2cosiiHINsGSaj X-Received: by 2002:a17:902:6e01:: with SMTP id u1-v6mr1130405plk.96.1529664136838; Fri, 22 Jun 2018 03:42:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529664136; cv=none; d=google.com; s=arc-20160816; b=IOAwYe2bqk7WAqcb2DFO2QN+8KD8vH14rWrNNpWG8Uiq2sDLyvEn54smjG6VUjgII6 V3rMzflhPFyv7g6xylqTAPEQBmNI9dr8ubaZ8KlTZO3/RSdzi2bgEEwV03+VPqeEZbqh psJUNOqYof5ZFLp37lqtCzAxX3luFzoWf/1M/VZlsYabxAoM2OS+XYbkndo7AdmuM09Z W6bVY5aHmUmrwpZBoEnK0pDULR++/PGdd3RO2qHZ6cY8g+5k49L6f00rCHemvUw6Bk1u 8aRP9Jat+b0D6555u4gQV0PVOZol3SvYNYNmvUIIKRxkgzjESsCBfZUgxEOQ7V3I4oRk CFvA== 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:message-id :in-reply-to:date:references:subject:cc:to:from :arc-authentication-results; bh=zVc7egRTdtAzDVN7BeoV4cj11XT0E4b4UmqKNoDZP2M=; b=inalnwknPUJK0KhuwiYt5b/AF75v91dxupn1QQlzDopSV6Yu22bxaL3ODFMiV+BHcn Y1chhfCdu4/M/c6coHrvtfdkJ057GlYYc8FGfNL4xSLHKjzhYpm5v0SWNMAP0Z7Ynf9j UMh1L0tEDgNScYK2pEE9eLS5EppJMl1EXbo8b+/NOP5mD+g8lufgb1RXnITsVlwkG9rT CuZwvVdvN5Ajlaqg/Jf2cX3U1QdNxLowj7dlWXpCuZlUT6xP26tjdk7Kaj1HqFjUbErq aA0k+mfNgu3TD6oo8QXejv3QmyYGOBr8H8nktGZtUhMjwBpApaQCRV/g6IC6WNoayhJu 8VbA== 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 h13-v6si6112362pgr.338.2018.06.22.03.42.02; Fri, 22 Jun 2018 03:42:16 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754339AbeFVKlX (ORCPT + 99 others); Fri, 22 Jun 2018 06:41:23 -0400 Received: from smtp06.smtpout.orange.fr ([80.12.242.128]:20992 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753275AbeFVKlW (ORCPT ); Fri, 22 Jun 2018 06:41:22 -0400 Received: from belgarion ([90.55.203.186]) by mwinf5d64 with ME id 1mhF1y00V41oiFu03mhFT1; Fri, 22 Jun 2018 12:41:19 +0200 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Fri, 22 Jun 2018 12:41:19 +0200 X-ME-IP: 90.55.203.186 From: Robert Jarzmik To: Takashi Iwai , "Mark Rutland" , "Rob Herring" Cc: "Liam Girdwood" , "Mark Brown" , "Jaroslav Kysela" , , , Subject: Re: [PATCH 2/2] ALSA: ac97: add codecs devicetree binding References: <20180621154356.5438-1-robert.jarzmik@free.fr> <20180621154356.5438-2-robert.jarzmik@free.fr> X-URL: http://belgarath.falguerolles.org/ Date: Fri, 22 Jun 2018 12:41:14 +0200 In-Reply-To: (Takashi Iwai's message of "Thu, 21 Jun 2018 21:45:46 +0200") Message-ID: <874lhvnlx1.fsf@belgarion.home> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Takashi Iwai writes: >> Special review query: review the "return of_node_get(node)", which >> assumes that upon device removal, of_put_node(dev.of_node) will be >> called... > > Is it really done automagically? I couldn't spot it. Neither could I ... I based this on device_set_of_node_from_dev(), and the it "seemed" logical to me that a device probed from devicetree would take a refcnt on the devicetree node. As the "logical" conflicted with my search for the automagical of_node_get(), I need the special review query. Cheers. -- Robert