Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1459551
| From | Joao Pinto <Joao.Pinto@synopsys.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 3/3] pcie-designware: fix typo |
| Date | 2016-08-10 21:00 +0200 |
| Message-ID | <s4GTp-n4-69@gated-at.bofh.it> (permalink) |
| References | <s4iel-1Aq-25@gated-at.bofh.it> <s4iel-1Aq-37@gated-at.bofh.it> <s4ixI-1HG-41@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Bjorn,
On 8/9/2016 5:54 PM, Bjorn Helgaas wrote:
> Hi Joao,
>
> On Tue, Aug 09, 2016 at 05:35:34PM +0100, Joao Pinto wrote:
>> Simple fix typo.
>
> This patch actually does more than fix a typo. Not sure if you
> intended to split this into separate patches, or to write a better
> changelog for this one. If these code changes are related and we have
> a good changelog, I don't mind if the typo fix is included as an
> incidental change.
Not sure what happened, but the fix typo should be in a separated patch!
I am going to send you a v5 of the patch set.
Thanks!
>
> Bjorn
>
>> Signed-off-by: Joao Pinto <jpinto@synopsys.com>
>> ---
>> changes v1->v4:
>> - Nothing changed. Just to keep up patch set version.
>>
>> drivers/pci/host/pcie-designware.c | 8 ++++----
>> 1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
>> index 3fb9036..7731eda 100644
>> --- a/drivers/pci/host/pcie-designware.c
>> +++ b/drivers/pci/host/pcie-designware.c
>> @@ -36,7 +36,7 @@
>> #define LINK_WAIT_IATU_MIN 9000
>> #define LINK_WAIT_IATU_MAX 10000
>>
>> -/* Synopsis specific PCIE configuration registers */
>> +/* Synopsys specific PCIE configuration registers */
>> #define PCIE_PORT_LINK_CONTROL 0x710
>> #define PORT_LINK_MODE_MASK (0x3f << 16)
>> #define PORT_LINK_MODE_1_LANES (0x1 << 16)
>> @@ -253,7 +253,7 @@ static void dw_pcie_prog_outbound_atu(struct pcie_port *pp, int index,
>> }
>>
>> if (val == PCIE_ATU_ENABLE)
>> - break;
>> + return;
>>
>> usleep_range(LINK_WAIT_IATU_MIN, LINK_WAIT_IATU_MAX);
>> }
>> @@ -646,11 +646,11 @@ int dw_pcie_host_init(struct pcie_port *pp)
>> }
>> }
>>
>> + pp->iatu_unroll_status = dw_pcie_get_atu_mode(pp);
>> +
>> if (pp->ops->host_init)
>> pp->ops->host_init(pp);
>>
>> - pp->iatu_unroll_status = dw_pcie_get_atu_mode(pp);
>> -
>> pp->root_bus_nr = pp->busn->start;
>> if (IS_ENABLED(CONFIG_PCI_MSI)) {
>> bus = pci_scan_root_bus_msi(pp->dev, pp->root_bus_nr,
>> --
>> 1.8.1.5
>>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/3] pcie-designware: add iATU unroll feature Joao Pinto <Joao.Pinto@synopsys.com> - 2016-08-09 18:40 +0200
[PATCH v4 3/3] pcie-designware: fix typo Joao Pinto <Joao.Pinto@synopsys.com> - 2016-08-09 18:40 +0200
Re: [PATCH v4 3/3] pcie-designware: fix typo Bjorn Helgaas <helgaas@kernel.org> - 2016-08-09 19:00 +0200
Re: [PATCH v4 3/3] pcie-designware: fix typo Joao Pinto <Joao.Pinto@synopsys.com> - 2016-08-10 21:00 +0200
[PATCH v4 1/3] pcie-designware: move definitions Joao Pinto <Joao.Pinto@synopsys.com> - 2016-08-09 18:40 +0200
[PATCH v4 2/3] pcie-designware: add iATU Unroll feature Joao Pinto <Joao.Pinto@synopsys.com> - 2016-08-09 18:40 +0200
csiph-web