From patchwork Sat Dec 15 10:03:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takashi Sakamoto X-Patchwork-Id: 10732105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7737B14E2 for ; Sat, 15 Dec 2018 10:03:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D48528815 for ; Sat, 15 Dec 2018 10:03:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F624288A7; Sat, 15 Dec 2018 10:03:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18ECA28815 for ; Sat, 15 Dec 2018 10:03:57 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id AC85C267AA7; Sat, 15 Dec 2018 11:03:55 +0100 (CET) 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 6FE49267AA8; Sat, 15 Dec 2018 11:03:53 +0100 (CET) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by alsa0.perex.cz (Postfix) with ESMTP id 250A7267A8E for ; Sat, 15 Dec 2018 11:03:49 +0100 (CET) Received: by mail-pl1-f193.google.com with SMTP id gn14so3876900plb.10 for ; Sat, 15 Dec 2018 02:03:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Gbzheh9ifFnpkeW+PlMPcS75kGVeSh2cHowUmOGuZl8=; b=SuqD1AjE4jMlkggPdbl6VNVFP2/c94T5hPtANClurphB/uw+gR/efGnXx6BKwa+HTT EYEQFvlu9moEled5jSrfY/mxdGPWRdKTl2sS3Tm5Q125K+eC5gJSdRi6Cu7eQpbwv2LG Q0p065u85y7r0J+x9Ko6hAmv1wSspSwVZxj4duzcG/EMlIaS/T+f7gASt3srmLFHZjvq a9Rc9d590cJdFcDc2oK9QZA+ZIxYa7Wlb27imxseKrYKLum+l/t2g1fxFJl4+tYBBdI+ PyLzah7kyZ/J7RtqE7rU0Teo0+Rr8tV5IMkH7uNJFH+utOhjlwbLO6XkNhKl1Av2/Gwr R2fA== X-Gm-Message-State: AA+aEWZkNix0Q96MvbLDOnxQG99XQHj/QPRILEBBO8QyuWaGngrjy40W c+EspFQGj/6XYtPpC+tofcE= X-Google-Smtp-Source: AFSGD/UF9sA9dTvbJxtcjdfBHSwoxR/olPi9RkKdTTHidFH2CAmVjJg3ciNTQH36u9T+WE1U2FfosA== X-Received: by 2002:a17:902:28c1:: with SMTP id f59mr5906106plb.37.1544868228422; Sat, 15 Dec 2018 02:03:48 -0800 (PST) Received: from localhost.localdomain ([2405:6580:9660:3200:158:7414:91fa:c7]) by smtp.gmail.com with ESMTPSA id 85sm10676758pfw.17.2018.12.15.02.03.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Dec 2018 02:03:47 -0800 (PST) From: Takashi Sakamoto To: clemens@ladisch.de, tiwai@suse.de Date: Sat, 15 Dec 2018 19:03:18 +0900 Message-Id: <20181215100321.1658-1-o-takashi@sakamocchi.jp> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH 0/3] ALSA: firewire-lib: fixes for processing packets without CIP header 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, In kernel v4.12, a series of patch was applied to IEC 61883-1/6 packet streaming engine in ALSA firewire stack to process isochronous packet without CIP header. But this included some bugs. Especially, for capture PCM substream, the engine handles PCM frames for applications as four times against real time. This patchset fixes the bugs. Takashi Sakamoto (3): ALSA: firewire-lib: fix wrong handling payload_length as payload_quadlet ALSA: firewire-lib: fix wrong assignment for 'out_packet_without_header' tracepoint ALSA: firewire-lib: use the same print format for 'without_header' tracepoints sound/firewire/amdtp-stream-trace.h | 4 ++-- sound/firewire/amdtp-stream.c | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-)