From patchwork Mon Sep 16 08:38:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Elfring X-Patchwork-Id: 13805121 Received: from mout.web.de (mout.web.de [212.227.15.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E87413E03E; Mon, 16 Sep 2024 08:38:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.3 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726475927; cv=none; b=dR1jxOJls9xkAjkUEGZx7Alj4at1XMa81JM0UmYcKujJZgBVblkLStZXR5npegY1xlVyLU6gTueZJIMpnpeVCClxiJiKsIq9FaoRymwmF9Krwh7rLQ6jc2WXs1NwbYC935aygALY0BK7S1HwJ9Vg/lcjE+xrgfIdm85MqG0CZw0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726475927; c=relaxed/simple; bh=QbdMdfEPEYw+igQH+6jkOETxTCZSyfaJXjFUukLyQws=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=nLJHQa5gUZNZ+3YI/WsON/HPSpCPDW6MaND6ipstmu7rK23ITPJMCVQ7EOCUiytu1fFVQuc0o7E34fvmHLhrPEKe673JAiNDc49N6KVI3Ozt1gIU4zlUjVgAacWJjf1aYdAaTW0hAHpYm5waM/iPtbuST9VEi/ORWwvui+KY3pg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de; spf=pass smtp.mailfrom=web.de; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b=TKIgX6pU; arc=none smtp.client-ip=212.227.15.3 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=web.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b="TKIgX6pU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1726475890; x=1727080690; i=markus.elfring@web.de; bh=w+kKjiklDfz5dRPofkF9D2ZUfBBni1MS+qVkawjJpEY=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:To:Cc:From: Subject:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=TKIgX6pU5mFmAYzl1r0g9IibvUig3gMFrkBWbVF2vjgGU/xHey7OREzC6F4Sta/D XCP8arjAS1tqGzc0mqafiss/AV+42i8UqARK/jY+VrkR/MbGEtFtSoMKexwKcu1ms OAeAsg/d6gSYPQ92RK6P2xmzYT5fmRDGZz4+M6X48G9p8KcbneaNn6coVVhz6O2+Z jgeyX6eH61dTNqUbBnBxXGkCcRkLOUcjIMV+hgsgGJ2qhAz17kWVuAR9eFxJM7oEf UP8+qHOlMhkmbgitb5sTMq/kWJ2qhW04zeOv1qJ+bxDwm3mcgm4emsOMBlDUvaVAe ZHa3gFMGT35JrMAB5Q== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.21] ([94.31.85.95]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MLRYd-1sXccj2L47-00YSbQ; Mon, 16 Sep 2024 10:38:10 +0200 Message-ID: Date: Mon, 16 Sep 2024 10:38:09 +0200 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: linux-sound@vger.kernel.org, Jaroslav Kysela , Liam Girdwood , Mark Brown , Takashi Iwai Content-Language: en-GB Cc: LKML , Dmitry Torokhov , Julia Lawall From: Markus Elfring Subject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IUqX+RgLg+wSjqPpUjpJoXhT BdMClM+jwEA39lwoEjUweZNVjMcUDOTaoNOlYxcIpZS4QY7g6w6hDtCrUaeMQECOkugd2r68D hdAtxX/V+gDJIoldROZJpMLw== From: Markus Elfring Date: Mon, 16 Sep 2024 10:30:10 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): Use scope-based resource management Improve a size determination sound/soc/codecs/tas5805m.c | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) --- 2.46.0