Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 9 Sep 2013 08:19:24 -0700 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH 5/6] staging/et131x: Use cached pci_dev->pcie_mpss and pcie_set_readrq() to simplif code |
| |
On Mon, Sep 09, 2013 at 09:13:07PM +0800, Yijing Wang wrote: > The PCI core caches the "PCI-E Max Payload Size Supported" in > pci_dev->pcie_mpss, so use that instead of pcie_capability_read_dword(). > Also use pcie_set_readrq() instead of pcie_capability_clear_and_set_word() > to simplify code. > > Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| ![\](/images/icornerr.gif) |