Show a cover letter.

GET /api/1.1/covers/2221022/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2221022,
    "url": "http://patchwork.ozlabs.org/api/1.1/covers/2221022/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/cover/20260408170818.70322-1-piyushpatle228@gmail.com/",
    "project": {
        "id": 21,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/21/?format=api",
        "name": "Linux Tegra Development",
        "link_name": "linux-tegra",
        "list_id": "linux-tegra.vger.kernel.org",
        "list_email": "linux-tegra@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260408170818.70322-1-piyushpatle228@gmail.com>",
    "date": "2026-04-08T17:08:16",
    "name": "[v2,0/2] ASoC: tegra210: simplify byte map handling in ADX and AMX",
    "submitter": {
        "id": 92665,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/92665/?format=api",
        "name": "Piyush Patle",
        "email": "piyushpatle228@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/linux-tegra/cover/20260408170818.70322-1-piyushpatle228@gmail.com/mbox/",
    "series": [
        {
            "id": 499165,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499165/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/list/?series=499165",
            "date": "2026-04-08T17:08:16",
            "name": "ASoC: tegra210: simplify byte map handling in ADX and AMX",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/499165/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/2221022/comments/",
    "headers": {
        "Return-Path": "\n <linux-tegra+bounces-13614-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-tegra@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=lebtebPl;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-tegra+bounces-13614-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"lebtebPl\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.210.171",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com"
        ],
        "Received": [
            "from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frTzm2rsPz1xv0\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 03:08:36 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 005A83012CEF\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  8 Apr 2026 17:08:33 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id D778835F163;\n\tWed,  8 Apr 2026 17:08:31 +0000 (UTC)",
            "from mail-pf1-f171.google.com (mail-pf1-f171.google.com\n [209.85.210.171])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 8600233B6C4\n\tfor <linux-tegra@vger.kernel.org>; Wed,  8 Apr 2026 17:08:30 +0000 (UTC)",
            "by mail-pf1-f171.google.com with SMTP id\n d2e1a72fcca58-82d0b68837aso3982b3a.2\n        for <linux-tegra@vger.kernel.org>;\n Wed, 08 Apr 2026 10:08:30 -0700 (PDT)",
            "from\n lorddaniel-VivoBook-ASUSLaptop-K3502ZA-S3502ZA.www.tendawifi.com\n ([14.139.108.62])\n        by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82cf9b2694csm21775091b3a.2.2026.04.08.10.08.25\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Wed, 08 Apr 2026 10:08:29 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775668111; cv=none;\n b=KTtkWn37xKtnhk3Ne6lsioipXNmmML5hKre38NScYyMJA3eNygFgIdxF/H98UeR0vTuBcQTY6bHS41JSMC6cdWsoqSmNZjjvPYKOT+KrQp89nOyh3/YnT3VG3TTWmtYE9QHS640at9U388wc+bOqkwTlmoHosJ1LACf49tfNMcA=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775668111; c=relaxed/simple;\n\tbh=TVDvBDhhE1GFZeZZeFs+dGuWH0KASYUMZZiT5zbEg7s=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=gyd8Ck+4Oj/JY7j2UIEWme5aFdkBflzTqOtlVAYaxuvi8xh82aakMvUx93ljFlsILogD5n6OFqzwgwZwp6Ro21pP7ItwYbSPc7JxC6se+jw4Snt97+DOGB0T3oz33OqDNAnzUgVkppcf6fbpRQ1cEMbPx5mKBklsce/DiCP9SjY=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=lebtebPl; arc=none smtp.client-ip=209.85.210.171",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1775668110; x=1776272910;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=Xz5Cydk8ycXF/+GGvFsNR7glut2xhT7NU+wPgS7bPP8=;\n        b=lebtebPlpGDb8/bEi/NPyFcFExgcXkWDvCg+bENmCpmzFyD3VmYcrAbvCuQaW+0gsp\n         MsJ881hdUgJV1HtO5vqcAt4UGTnkZdXsLjWzGYzGD1I1wPCuFoa7YSLUhvkrnEhc2300\n         FQTZLvFrFOeM7jbNiR2DghddM/y6qLyzZX+a8etgN1IsCB25ziLQoHcQbat9lhCb+Y+i\n         /8BJHXZJnyoANuviJk117j5yrd9Lcdob4j1JXDdkNfTDDD4SMtrnBg656FYN23Tr3WDK\n         H2qih7yRAAe7zrXaLp+qNC4bR1G30zIFJvPZ2fsEQUUNcIoVk7456uUwjZF1mBH/1lmv\n         4uHQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1775668110; x=1776272910;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n         :to:cc:subject:date:message-id:reply-to;\n        bh=Xz5Cydk8ycXF/+GGvFsNR7glut2xhT7NU+wPgS7bPP8=;\n        b=RfSaZzY1uw3T+D8uezfMreMgfBTuXUd5GDif/esT309jS/QSvD5qHpKoubbPYMYvyo\n         Z5VpS9jCukPRDwYHnvhLqwp2+bqOkfRJ6dlFdljgNsnhcxRCPtLR3gcpNCRW7jH1xgJK\n         Q5H2bn+Z9vNQfIkYxtIG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U3V+a+rJkmsy/c6SUx4e8FpA==",
        "X-Received": "by 2002:a05:6a00:429b:b0:824:b181:f492 with SMTP id\n d2e1a72fcca58-82dd8ad1516mr256957b3a.45.1775668109744;\n        Wed, 08 Apr 2026 10:08:29 -0700 (PDT)",
        "From": "Piyush Patle <piyushpatle228@gmail.com>",
        "To": "Mark Brown <broonie@kernel.org>",
        "Cc": "Sheetal <sheetal@nvidia.com>,\n\tJonathan Hunter <jonathanh@nvidia.com>,\n\tThierry Reding <thierry.reding@gmail.com>,\n\tLiam Girdwood <lgirdwood@gmail.com>,\n\tJaroslav Kysela <perex@perex.cz>,\n\tTakashi Iwai <tiwai@suse.com>,\n\tKuninori Morimoto <kuninori.morimoto.gx@renesas.com>,\n\tlinux-sound@vger.kernel.org,\n\tlinux-tegra@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org",
        "Subject": "[PATCH v2 0/2] ASoC: tegra210: simplify byte map handling in ADX and\n AMX",
        "Date": "Wed,  8 Apr 2026 22:38:16 +0530",
        "Message-Id": "<20260408170818.70322-1-piyushpatle228@gmail.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20260407170308.100238-3-piyushpatle228@gmail.com>",
        "References": "<20260407170308.100238-3-piyushpatle228@gmail.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-tegra@vger.kernel.org",
        "List-Id": "<linux-tegra.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-tegra+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-tegra+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "The Tegra210 ADX and AMX drivers both keep their \"Byte Map N\" ALSA\ncontrol state as a byte-packed u32 map[] array along with a separate\nbyte_mask[] bitmap. This is because the control range exposed to\nuserspace is [0, 256], where 256 is the \"disabled\" sentinel and\ndoes not fit in a byte, so the two arrays have to be cross-checked\non every get()/put().\n\nThis series stores each slot as a u16 holding the user-visible\nvalue directly, turning get_byte_map() into a direct return and\nput_byte_map() into a compare-and-store. The hardware-facing packed\nRAM word and the IN_BYTE_EN / OUT_BYTE_EN enable masks are computed\non the fly inside each write_map_ram() callback, which is the only\nplace that needs to know the hardware layout. The byte_mask[] field\nis dropped from both driver state structs.\n\nThere is no userspace-visible ABI change. Control declarations,\nranges, initial values and handling of out-of-range writes is\npreserved by treating values outside [0, 255] as disabled (256),\nmatching previous behavior. As a side effect each patch also fixes\na latent bug in put_byte_map() where an enabled-to-enabled value\nchange was not persisted.\n\nThe packed RAM word construction is also updated to ensure the shift\noperates on a u32 value, avoiding potential undefined behavior due\nto signed integer promotion.\n\nAddresses TODO comments left in tegra210_{adx,amx}_get_byte_map().\n\nChanges since v1:\n - Allocate byte_mask[] dynamically using kcalloc() based on\n   soc_data->byte_mask_size instead of fixed-size arrays\n - Propagate -ENOMEM from write_map_ram() to callers\n - Replace magic numbers with TEGRA_{ADX,AMX}_SLOTS_PER_WORD\n - Use BITS_PER_BYTE and BITS_PER_TYPE() instead of literal shifts\n - Add <linux/bits.h> and <linux/slab.h> includes\n\nPatch 1/2: ASoC: tegra210_adx: simplify byte map get/put logic\nPatch 2/2: ASoC: tegra210_amx: simplify byte map get/put logic"
}