[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2023082221-blimp-bogged-7265@gregkh>
Date: Tue, 22 Aug 2023 14:49:42 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Yinbo Zhu <zhuyinbo@...ngson.cn>
Cc: Minas Harutyunyan <hminas@...opsys.com>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, Jianmin Lv <lvjianmin@...ngson.cn>,
wanghongliang@...ngson.cn, loongson-kernel@...ts.loongnix.cn
Subject: Re: [PATCH RESEND v2] usb: dwc2: add pci_device_id driver_data parse
support
On Tue, Aug 15, 2023 at 02:58:33PM +0800, Yinbo Zhu wrote:
> The dwc2 driver has everything we need to run in PCI mode except
> for pci_device_id driver_data parse. With that to set Loongson
> dwc2 element and added identified as PCI_VENDOR_ID_LOONGSON
> and PCI_DEVICE_ID_LOONGSON_DWC2 in dwc2_pci_ids, the Loongson
> dwc2 controller will work.
>
> Signed-off-by: Yinbo Zhu <zhuyinbo@...ngson.cn>
> ---
> Change in v2:
> 1. Move the dwc2 pci ID from pci_ids.h to params.c.
> 2. Add some code logic to ensure that the current device is
> a PCI device.
> 3. Fix the compile issue when dwc2 pci driver as module.
>
> drivers/usb/dwc2/core.h | 1 +
> drivers/usb/dwc2/params.c | 39 ++++++++++++++++++++++++++++++++++++++-
> drivers/usb/dwc2/pci.c | 14 +-------------
> 3 files changed, 40 insertions(+), 14 deletions(-)
Ok, in looking at this again, I guess it's the best that can be done for
now, so I'll take it. Thanks for resending.
greg k-h
Powered by blists - more mailing lists