Return-path: Received: from sabertooth02.qualcomm.com ([65.197.215.38]:19470 "EHLO sabertooth02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751952AbdGFMMH (ORCPT ); Thu, 6 Jul 2017 08:12:07 -0400 Subject: [PATCH v3 0/2] ath10k usb support From: Kalle Valo To: CC: Date: Thu, 6 Jul 2017 15:11:42 +0300 Message-ID: <149934296332.20024.5652905816164718891.stgit@potku.adurom.net> (sfid-20170706_141211_227432_FF149087) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Sender: linux-wireless-owner@vger.kernel.org List-ID: Here's v3 of usb support patches. I mostly cosmetic changes to follow the style used elsewhere in ath10k. Only compile tested, but it should still work :) I think these are now ready for commit. I did have few open questions (but they don't prevent committing these): * why atomic allocations? * why some of the error messages use ath10k_dbg()? * ath10k_usb_submit_ctrl_out() & ath10k_usb_submit_ctrl_in(): is size == 0 a valid transmission? Changelog: v3: * squash patches 1 and 2 * simplify is_trailer_only_msg() * unify debug message style ("usb foo %d bar 0x%x") * use %pK * don't use __func__ in debug messages, make sure debug messages are unique * cosmetic style changes * remove err labels which just have return and nothing else * fix error handling in ath10k_usb_probe() * update MODULE_DESCRIPTION() v2: * separate high latency code to a separate patchset --- Erik Stromdahl (2): ath10k: various usb related definitions ath10k: add initial USB support drivers/net/wireless/ath/ath10k/Kconfig | 7 drivers/net/wireless/ath/ath10k/Makefile | 3 drivers/net/wireless/ath/ath10k/core.c | 1 drivers/net/wireless/ath/ath10k/core.h | 3 drivers/net/wireless/ath/ath10k/debug.h | 2 drivers/net/wireless/ath/ath10k/usb.c | 1106 ++++++++++++++++++++++++++++++ drivers/net/wireless/ath/ath10k/usb.h | 128 +++ 7 files changed, 1250 insertions(+) create mode 100644 drivers/net/wireless/ath/ath10k/usb.c create mode 100644 drivers/net/wireless/ath/ath10k/usb.h