From patchwork Fri Apr 20 17:03:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 133917 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp513919ljf; Fri, 20 Apr 2018 10:04:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx493zxflq5hJR16njlQdR0ku0/1D8+iUTHdNQ6eZIwLFNKpX8dOPYnuqnHz/dO4rTbbkZrx1 X-Received: by 2002:adf:dd4f:: with SMTP id u15-v6mr5425213wrm.43.1524243861999; Fri, 20 Apr 2018 10:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524243861; cv=none; d=google.com; s=arc-20160816; b=JaK4jeDUzLaEqL68Z1AAGqq7EpG2/OGVeOJiX4bflKTX5647XtqkMFTKYHYE1D68LC iV0YB411ctGowPQC2YRJ4Nygx56yJaP5UXDDY5SVg04puGdTbT/4m28sXq5HOyxWdyny C+M4hUcif3NYQUNZ1nXaKmbQ9r+LBeb4qO4QHNgtQbNsbyc24kPJFzymx9WUvzvGriE0 rt0QEt2wJXp+VsfoKOQHN8H9G2zrsRlg0NaJL157YFeFjQJmSfHOJz4BFULQYshT0vyN OT5+2byS2zCQ8Ql+AGDp+GEDuAiSan5hIdtjBbYdPfh3VKv5hbJRlCdmInxk5xGeOG/e 8sZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=rHeDEYmVimajtF6VbOwY33ypf1ClYaptlEBR23WIq3E=; b=WSXWCd8jREKrT/6uFTX9JvZj188fKEFZPRjvCzZy7LQ/SmmlXgWfctbErJpwp2jFmb w1GhOvcMyzY0HRjfxYnEPG1RvvFSQewSXS/u448n0zMMMUZ7iv8KCN1+bY2NFUYzfaMf XRTQeAAPfZW4UtGq4PAvyXSC2YRaJrO6uY7A6MGkCsSWer/2RLJgkuGfKb8Dv9ElnzIN jDyRElKAvMmTknxOAmZ73+0g8kRO75Q3XoY0jDSI+OY3o+GUY8OlFnqmhOEWx4U1w5fp 9YbI82ggKC3bi9lpatTkNfG0DM8xZ1khB11X+yx+DecXjLPDczVlL/nG8ixhtNe/drsm 3fPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=qmyPeLEy; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id p28si1403259wma.225.2018.04.20.10.04.21; Fri, 20 Apr 2018 10:04:21 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=qmyPeLEy; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D9EC3267646; Fri, 20 Apr 2018 19:03:55 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 842C3267645; Fri, 20 Apr 2018 19:03:53 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 717F9267638 for ; Fri, 20 Apr 2018 19:03:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=BZDnVCAudSJ4jqxCHiglckbQcPXFqvWl+/gRp4nM2QU=; b=qmyPeLEywG7I vCO9SAIObhMrdmbkoJkzMn10LL1x4kqIH15lo3NrUy/OESRqcmEi5bHVLEDzKPKf3uNWAQhUVZS/P MuaLwdKLa2fYMjuWgA72P4XRcGBEMFZvMkLjxLvGyfkCvVEfFzEagaFPwFWoXZkZ8pUW8e1XkhGjJ 5x/b0=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1f9ZRi-0006An-Fe; Fri, 20 Apr 2018 17:03:38 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1f9ZRh-0004SH-0G; Fri, 20 Apr 2018 18:03:37 +0100 From: Mark Brown To: Vinod Koul In-Reply-To: <1524221072-11040-2-git-send-email-vinod.koul@intel.com> Message-Id: Date: Fri, 20 Apr 2018 18:03:37 +0100 Cc: liam.r.girdwood@linux.intel.com, patches.audio@intel.com, alsa-devel@alsa-project.org, broonie@kernel.org Subject: [alsa-devel] Applied "ASoC: Intel: byt-max98090: Replace GFP_ATOMIC with GFP_KERNEL" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: Intel: byt-max98090: Replace GFP_ATOMIC with GFP_KERNEL has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From ffa481cf5d0e338e9221000805127c8cb3e2b150 Mon Sep 17 00:00:00 2001 From: Vinod Koul Date: Fri, 20 Apr 2018 16:14:26 +0530 Subject: [PATCH] ASoC: Intel: byt-max98090: Replace GFP_ATOMIC with GFP_KERNEL In byt_max98090_probe which is not atomic context, we use GFP_ATOMIC flag with memory allocation, fix that by using GFP_KERNEL. Signed-off-by: Vinod Koul Signed-off-by: Mark Brown --- sound/soc/intel/boards/byt-max98090.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/intel/boards/byt-max98090.c b/sound/soc/intel/boards/byt-max98090.c index 0f8b8209c020..f1283634b22b 100644 --- a/sound/soc/intel/boards/byt-max98090.c +++ b/sound/soc/intel/boards/byt-max98090.c @@ -151,7 +151,7 @@ static int byt_max98090_probe(struct platform_device *pdev) struct byt_max98090_private *priv; int ret_val; - priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_ATOMIC); + priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); if (!priv) { dev_err(&pdev->dev, "allocation failed\n"); return -ENOMEM;