From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932648AbbFRQB7 (ORCPT ); Thu, 18 Jun 2015 12:01:59 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:57865 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754591AbbFRQBu (ORCPT ); Thu, 18 Jun 2015 12:01:50 -0400 Message-ID: <5582EB51.8010406@ti.com> Date: Thu, 18 Jun 2015 11:01:21 -0500 From: Dave Gerlach User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Ohad Ben-Cohen CC: linux-arm , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-omap@vger.kernel.org" , Suman Anna , Tony Lindgren Subject: Re: [PATCH v5 1/4] remoteproc: introduce rproc_get_by_phandle API References: <1432327530-48032-2-git-send-email-d-gerlach@ti.com> <1434566762-40702-1-git-send-email-d-gerlach@ti.com> In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ohad, On 06/18/2015 04:04 AM, Ohad Ben-Cohen wrote: > Hi Dave, > > On Wed, Jun 17, 2015 at 9:46 PM, Dave Gerlach wrote: >> Allow users of remoteproc the ability to get a handle to an rproc by >> passing a phandle supplied in the user's device tree node. This is >> useful in situations that require manual booting of the rproc. >> >> This patch uses the code removed by commit 40e575b1d0b3 ("remoteproc: >> remove the get_by_name/put API") for the ref counting but is modified >> to use a simple list and locking mechanism and has rproc_get_by_name >> replaced with an rproc_get_by_phandle API. >> >> Signed-off-by: Dave Gerlach >> Signed-off-by: Suman Anna >> --- >> v4->v5: Fixed build error from of_find_node_by_phandle when !CONFIG_OF >> based on offline discussion. > > We can't rebase our for-next branch, so I've applied a > similar fix in a separate patch. > > Please check our for-next branch to make sure things still work for you. > Oh sorry about. Pulled your for-next, tried it out, everything looks good to me, thanks! Regards, Dave > Thanks, > Ohad. >