From patchwork Mon Aug 22 15:14:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 12950790 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F45BC28D13 for ; Mon, 22 Aug 2022 15:23:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236574AbiHVPXU (ORCPT ); Mon, 22 Aug 2022 11:23:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236488AbiHVPV7 (ORCPT ); Mon, 22 Aug 2022 11:21:59 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3348E419AF; Mon, 22 Aug 2022 08:15:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 88AD7B8124B; Mon, 22 Aug 2022 15:15:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45B43C433D7; Mon, 22 Aug 2022 15:15:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661181312; bh=oOBpV+kQLcdiRCH072jVwXy/v1KyShAjHL22oLdvKHA=; h=From:To:Cc:Subject:Date:From; b=HsrBkCQWygotKWt7en6snLQp4SqotmjCROvU3SBDUbETbDylHfFwl7Hr+k0FWJepv 7ENSIdVG19jlULLzwf5i0Etae9QAT5rAxG2B0Iz0wdJgDr+hRZdGhSkwFLIr7yD33R /1FtusFInldvFnVWqwhmOn4UZG/Tjpn9CNnN4GfzefpbV0xbjH+b/gyQf25j4/ci0i D+5M9JAlNqGtaRwdKHK4qOdAHwbzGq9M5pTIFKlJipuOiGN4H0vWzHjqZVsqQpZDd8 8+kGq07VcgqPha0SfwBRngp6u9yccyiN7rUUSTTKMLikE5spiTWoTMK26Lp1eOD5w1 4oOXWUEPmqLSw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oQ98w-00074f-7o; Mon, 22 Aug 2022 17:15:10 +0200 From: Johan Hovold To: Mauro Carvalho Chehab Cc: Hans Verkuil , Sean Young , linux-media@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH RESEND 0/3] media: flexcop-usb: probe cleanups Date: Mon, 22 Aug 2022 17:14:53 +0200 Message-Id: <20220822151456.27178-1-johan@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This series cleans up the probe helper functions a bit to make the code more readable. It has been two months and two completely ignored reminders since this was first posted so resending. Can someone please pick this up and let me know when that has been done? Note that these apply on top of the fix resent here: https://lore.kernel.org/r/20220822151027.27026-1-johan@kernel.org Johan Johan Hovold (3): media: flexcop-usb: clean up endpoint sanity checks media: flexcop-usb: clean up URB initialisation media: flexcop-usb: use usb_endpoint_maxp() drivers/media/usb/b2c2/flexcop-usb.c | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-)