From patchwork Fri May 21 13:28:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 12273175 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 589C1C43462 for ; Fri, 21 May 2021 13:29:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3F24E61164 for ; Fri, 21 May 2021 13:29:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235561AbhEUNax (ORCPT ); Fri, 21 May 2021 09:30:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:47040 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235435AbhEUNat (ORCPT ); Fri, 21 May 2021 09:30:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4247161261; Fri, 21 May 2021 13:29:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621603766; bh=Xq1IHDaEQhd6sGQ6a4trEwMvUACX7tTodHm4aI8dm1s=; h=From:To:Cc:Subject:Date:From; b=NIVZCEqi3ku77x14vQwDo3U+7LVxthPBab8byUlrKwT0l0iQGMwvkXMkTj4oMaxdp OQcTDxzBah2Fc8GaxWBHEEnrEJPgKr2zweFbYh+J5pHBYOK+puy436u1vsfZspWbMG pR5hGDDdhxM7o2CpV4RjedhyIAEYuqZTAZ8kW3IdiWWMpu0NayEJZjKMjIL4ojluez wi/BJw7okbwh02oz6mnlJ5BD5qeE0BpMTqnf2wwD8U76QR29aw8XSZRuYRJE+9Y4Rm 0enmeeMcjx1tZerLK4RR77j3yflAYmc3QaR9+OpPQNzfqlCBvl0cGfy8TVIj/bXGGH 3QUO+uJDeoaag== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1lk5DT-0004To-6v; Fri, 21 May 2021 15:29:27 +0200 From: Johan Hovold To: Mauro Carvalho Chehab Cc: Hans Verkuil , linux-media@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/2] media: fix USB control-request directions Date: Fri, 21 May 2021 15:28:37 +0200 Message-Id: <20210521132839.17163-1-johan@kernel.org> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The direction of the pipe argument must match the request-type direction bit or USB control requests may fail depending on the host-controller-driver implementation. This series fixes two media driver that got this wrong. Johan Johan Hovold (2): media: dtv5100: fix control-request directions media: gspca/sq905: fix control-request direction drivers/media/usb/dvb-usb/dtv5100.c | 7 +++++-- drivers/media/usb/gspca/sq905.c | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-)