From patchwork Sat Apr 13 14:01:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10899435 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 6522A1669 for ; Sat, 13 Apr 2019 14:01:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 237F428D54 for ; Sat, 13 Apr 2019 14:01:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 182F228E05; Sat, 13 Apr 2019 14:01:51 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11F1528D54 for ; Sat, 13 Apr 2019 14:01:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727025AbfDMOBj (ORCPT ); Sat, 13 Apr 2019 10:01:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:60992 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726207AbfDMOBj (ORCPT ); Sat, 13 Apr 2019 10:01:39 -0400 Received: from localhost.localdomain.com (unknown [151.66.24.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C33C020848; Sat, 13 Apr 2019 14:01:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555164098; bh=V46oDlvXSy648a4BQm4ywm3LtWaXvz3v/7iU3zuFdtU=; h=From:To:Cc:Subject:Date:From; b=cttWupNV10Y3tm0QBeqBHes4/msFvTLiYg8lUUEFHrD8/EX7GBdKkrTVcbEzoORzi QkWnRUO6VkUlHB0BgWvB22+t/A+WK+s0af0WJoAB7SBoNC224SSDWfUeY3L7JZc6p6 VsybMnMSvQS4Z536hw9CYE5stItXQVBWAWg2hWBI= From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org Subject: [PATCH 0/5] use standard signature for mt7603 mcu api Date: Sat, 13 Apr 2019 16:01:23 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Introduce mt76_mcu_ops data structure in mt7603 mcu code in order to unify mcu code between mt7603 and mt7615 drivers Lorenzo Bianconi (5): mt7603: remove query from mt7603_mcu_msg_send signature mt7603: use standard signature for mt7603_mcu_msg_send mt7603: initialize mt76_mcu_ops data structure mt76: introduce mt76_mcu_restart macro mt7603: init mcu_restart function pointer drivers/net/wireless/mediatek/mt76/mt76.h | 3 + .../net/wireless/mediatek/mt76/mt7603/init.c | 2 +- .../net/wireless/mediatek/mt76/mt7603/mcu.c | 102 +++++++++--------- .../wireless/mediatek/mt76/mt7603/mt7603.h | 2 +- .../net/wireless/mediatek/mt76/mt76x02_mmio.c | 2 +- 5 files changed, 55 insertions(+), 56 deletions(-)