Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp787433imu; Fri, 7 Dec 2018 08:54:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/XjD/ZdG+lnPSkPh946BFUpWvh4wCBucF6/b/EIYqW6C8Ne/WnkObey8RYcJGBYxDPome41 X-Received: by 2002:a65:4049:: with SMTP id h9mr2589781pgp.304.1544201683362; Fri, 07 Dec 2018 08:54:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544201683; cv=none; d=google.com; s=arc-20160816; b=Ul3nl2DstGHAUM3YB12fTyZJ3i1Sxo285JcOrZOeW68yo+dOl3jxuWEobZpaB+FeA7 RSG0S8D8sa7kUSyH8qyPBsUJ0tIClIMhp7Ou3Di2D/ZD8y5GraNL7OyIdaIaUWz0M88T pyAGeLx3/kcJHnNRexdwbd1HdDAPs+uctojdhUw5Qz4DYFNyH7QY2wJb5uBvtcX41Txc dS/ZPi/JzBDqOibrf1SaNOeomz1/ftQFazKY5h8TXw7uLAq/yzerl2BJHC6nPOBi5PVs zQSGyD7caJXPhqpsaIaZYnOrFt9OSq80oYQod/Aw3hWs1GdAGeIMdEc+UGyPKOOfnhA4 jvSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=85gp1PbjMUKJs1k4lZxH2mDJm8/++K+/RJNQrFvGYik=; b=r0r9YnrvvwO6L3u9NVO0Ne7rEtV0wAGvwb2o3Lrqu7ljxUKkA8Zs2ojHbKU+8wCzrc LnCJFwewG8/nH/zJltr201NqLmA/1wjhoB8HMd3uxAZebmNgJZQrg81e7g4aKyntw/wo RBWyUK2kFtImLDTTAvJ9Kc+Vs/CiS9xwqdZtnwqpXlvrW0LPuAX7V8NhUeggUkr8uQNI G52envJBS2X2Fq5nUfG2Yas8xRVmfIIzh9lfSQIDdI63oUX1iTta1BX5qDIkMeS2c4pb SrvWrABs6cwG4Mi3u/FlU0j6NCa+B8MNmzspzvld7aGP9MoE9x2UYpYwgCbaTk/NrMmF xB3w== 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 j7si3562837plb.91.2018.12.07.08.54.28; Fri, 07 Dec 2018 08:54:43 -0800 (PST) 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 S1726074AbeLGQxk (ORCPT + 99 others); Fri, 7 Dec 2018 11:53:40 -0500 Received: from muru.com ([72.249.23.125]:56734 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726027AbeLGQxk (ORCPT ); Fri, 7 Dec 2018 11:53:40 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 8753980C0; Fri, 7 Dec 2018 16:53:42 +0000 (UTC) Date: Fri, 7 Dec 2018 08:53:36 -0800 From: Tony Lindgren To: Janusz Krzysztofik Cc: Aaro Koskinen , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: OMAP1: ams-delta: Fix audio permanently muted Message-ID: <20181207165336.GP6707@atomide.com> References: <20181123111945.6016-1-jmkrzyszt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181123111945.6016-1-jmkrzyszt@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Janusz Krzysztofik [181123 03:18]: > Since commit 1137ceee76ba ("ARM: OMAP1: ams-delta: Don't request unused > GPIOs"), on-board audio has appeared muted. Believed to be unused GPIO > pin "hookflash1", apparently set high regardless of the corresponding > bit of "latch2" port attempted to be set low during .init_machine(), > has been identified as the reason. > > According to Amstrad E3 wiki, the purpose of the pin hasn't been > clearly identified. Original Amstrad software used to produce a high > pulse on it when the phone was taken off hook or recall was pressed. > With the current finding, we can assume the pin provides a kind of > audio mute function. > > Proper resolution of the issue should be done in two steps: > - resolution of an issue with the pin state not reflecting the value > the corresponding bit of the port was attempted to be initialized > with, > - extension of on-board audio driver with a new control. > > For now, rename the pin to "audio_mute" to reflect its function and, > as a quick fix, hogg it as output low so on-board audio can produce > audible sound again. > > Fixes: 1137ceee76ba ("ARM: OMAP1: ams-delta: Don't request unused GPIOs") > Signed-off-by: Janusz Krzysztofik Adding into omap-for-v4.20/fixes thanks. Tony