Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752811AbcD2Qrt (ORCPT ); Fri, 29 Apr 2016 12:47:49 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:40424 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751153AbcD2Qrr (ORCPT ); Fri, 29 Apr 2016 12:47:47 -0400 Subject: Re: [PATCH V2] gpio: tegra: Implement gpio_get_direction callback To: Laxman Dewangan References: <1461947123-18170-1-git-send-email-ldewangan@nvidia.com> Cc: linus.walleij@linaro.org, thierry.reding@gmail.com, linux-gpio@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org From: Stephen Warren Message-ID: <5723902F.1010704@wwwdotorg.org> Date: Fri, 29 Apr 2016 10:47:43 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1461947123-18170-1-git-send-email-ldewangan@nvidia.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 294 Lines: 7 On 04/29/2016 10:25 AM, Laxman Dewangan wrote: > Implement gpio_get_direction() callback for Tegra GPIO. > The direction is only valid if the pin is configured as > GPIO. If pin is not configured in GPIO mode then this > function return error. Reviewed-by: Stephen Warren