Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759730AbbLCLCV (ORCPT ); Thu, 3 Dec 2015 06:02:21 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:58825 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756616AbbLCLCU (ORCPT ); Thu, 3 Dec 2015 06:02:20 -0500 Date: Thu, 3 Dec 2015 11:01:58 +0000 From: Mark Brown To: Takashi Iwai Cc: Koro Chen , lgirdwood@gmail.com, alsa-devel@alsa-project.org, srv_heupstream@mediatek.com, s.hauer@pengutronix.de, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Message-ID: <20151203110158.GD5727@sirena.org.uk> References: <1449129208-63615-1-git-send-email-koro.chen@mediatek.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tEFtbjk+mNEviIIX" Content-Disposition: inline In-Reply-To: X-Cookie: revolutionary, adj.: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [alsa-devel] [PATCH] ASoC: mediatek: Use current HW pointer for pointer callback X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1169 Lines: 33 --tEFtbjk+mNEviIIX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Dec 03, 2015 at 10:41:38AM +0100, Takashi Iwai wrote: > While reading this patch, I wondered how regmap can be used safely in > an irq-disabled context. Mark, do we have any API for that? We can use user supplied locks or spin_lock_irqsave(). --tEFtbjk+mNEviIIX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWYCElAAoJECTWi3JdVIfQxuQH/2+4Rg+bjjkDIhG3WyP590im +3LgsYKs+AsNmr32773UhmFT9zrRsRSPuI/2ZSJ91Aix1wPCCeepng/fKYOMcDq/ lrhnfgLXIgjj/tLbwKdJz/TL5JC4/njjM1hS582B4iRIBOzee2EYwcodjvnF58jf ClRCQexacKMeVeNv6qsXfBOxfYAYuIx7Fhh3nythUDe4UKDZqf/OWmJLTaymgLVW uaYkBay9qHuIWrCw6Fp3XOAJmvgjhZGkioRd80ByUPXhVPoFiU7bEe2b3trV6ZhC nRdNPngqebxasxBfcYo1XM7ipvVrzjcop02gmwuo1FdIeOlxb/kxTlB530QC3i8= =yCNK -----END PGP SIGNATURE----- --tEFtbjk+mNEviIIX-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/