From patchwork Thu Apr 11 11:52:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10895801 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 C1C19922 for ; Thu, 11 Apr 2019 11:52:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9F0B28B4F for ; Thu, 11 Apr 2019 11:52:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E8AF28B73; Thu, 11 Apr 2019 11:52:47 +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 50D9828B4F for ; Thu, 11 Apr 2019 11:52:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726637AbfDKLwq (ORCPT ); Thu, 11 Apr 2019 07:52:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:32936 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726215AbfDKLwq (ORCPT ); Thu, 11 Apr 2019 07:52:46 -0400 Received: from localhost.localdomain (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 99CA52184B; Thu, 11 Apr 2019 11:52:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554983565; bh=V46oDlvXSy648a4BQm4ywm3LtWaXvz3v/7iU3zuFdtU=; h=From:To:Cc:Subject:Date:From; b=jYlo9k5BrBY6/sdntZd1hSxnRp/PsC8VrbQvTOp83pvHdXbJSLC++Nx1kREivV3jg U43pYSOPxdS7EXTZvq4SXMri4qfSmHbjQMNJJNlB0PIYwDFjtUE4SDP5H1v/TK/Y/H +2DWJmxQPgGwIpY8AIDyF6gxmt9viW/aUl/ajBxE= From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org Subject: [RFC 0/5] use standard signature for mt7603 mcu api Date: Thu, 11 Apr 2019 13:52:32 +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(-)