From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hsu Subject: Re: ASoC: nau8825: default value for property Date: Thu, 22 Jun 2017 09:32:28 +0800 Message-ID: <594B1E2C.8010409@nuvoton.com> References: <1498027446-10807-1-git-send-email-KCHSU0@nuvoton.com> <20170621105631.7snp3eeebngkda4n@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from maillog.nuvoton.com (maillog.nuvoton.com [202.39.227.15]) by alsa0.perex.cz (Postfix) with ESMTP id 71BD72664EB for ; Thu, 22 Jun 2017 03:32:34 +0200 (CEST) In-Reply-To: <20170621105631.7snp3eeebngkda4n@sirena.org.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: AP MS30 Linux ALSA , "anatol.pomozov@gmail.com" , AC30 YHChuang , "lgirdwood@gmail.com" , "benzh@chromium.org" , "mac.chiang@intel.com" , AC30 CTLin0 , "yong.zhi@intel.com" , John Hsu , MS40 MHKuo List-Id: alsa-devel@alsa-project.org On 6/21/2017 6:56 PM, Mark Brown wrote: > On Wed, Jun 21, 2017 at 02:44:06PM +0800, John Hsu wrote: > >> + if (nau8825->jkdet_enable != true && >> + nau8825->jkdet_enable != false) >> + nau8825->jkdet_enable = 1; > > Won't jack detection require specific wiring on the board (if only > connection of the interupt line)? > >> + if (nau8825->jkdet_pull_enable != true && >> + nau8825->jkdet_pull_enable != false) >> + nau8825->jkdet_pull_enable = 1; > > Usually we'd just use the chip defaults... I misunderstand the device_property_read_bool. I agree and keep it as default. Thank you. =========================================================================================== The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.