From: Heiner Kallweit
Date: Sat, 23 Mar 2019 19:41:32 +0100
> This patches fixes few issues in mv88e6390x_port_set_cmode().
>
> 1. When entering the function the old cmode may be 0, in this case
>mv88e6390x_serdes_get_lane() returns -ENODEV. As result we bail
>out and have no chance to s
On 27.03.2019 22:22, Florian Fainelli wrote:
> On 3/23/19 11:41 AM, Heiner Kallweit wrote:
>> This patches fixes few issues in mv88e6390x_port_set_cmode().
>>
>> 1. When entering the function the old cmode may be 0, in this case
>>mv88e6390x_serdes_get_lane() returns -ENODEV. As result we bail
On 3/23/19 11:41 AM, Heiner Kallweit wrote:
> This patches fixes few issues in mv88e6390x_port_set_cmode().
>
> 1. When entering the function the old cmode may be 0, in this case
>mv88e6390x_serdes_get_lane() returns -ENODEV. As result we bail
>out and have no chance to set a new mode. The
From: Heiner Kallweit
Date: Sat, 23 Mar 2019 19:41:32 +0100
> This patches fixes few issues in mv88e6390x_port_set_cmode().
>
> 1. When entering the function the old cmode may be 0, in this case
>mv88e6390x_serdes_get_lane() returns -ENODEV. As result we bail
>out and have no chance to s
From: Heiner Kallweit
Date: Sat, 23 Mar 2019 19:41:32 +0100
> This patches fixes few issues in mv88e6390x_port_set_cmode().
>
> 1. When entering the function the old cmode may be 0, in this case
>mv88e6390x_serdes_get_lane() returns -ENODEV. As result we bail
>out and have no chance to s
This patches fixes few issues in mv88e6390x_port_set_cmode().
1. When entering the function the old cmode may be 0, in this case
mv88e6390x_serdes_get_lane() returns -ENODEV. As result we bail
out and have no chance to set a new mode. Therefore deal properly
with -ENODEV.
2. Once we have