From: Sergei Shtylyov <[email protected]>
Date: Wed, 03 Jan 2018 20:09:49 +0300
> When switching the driver to the managed device API, I managed to break
> the case of a dual Ether devices sharing a single TSU: the 2nd Ether port
> wouldn't probe. Iwamatsu-san has tried to fix this but his patch was buggy
> and he then dropped the ball...
>
> The solution is to limit calling devm_request_mem_region() to the first
> of the two ports sharing the same TSU, so devm_ioremap_resource() can't
> be used anymore for the TSU resource...
>
> Fixes: d5e07e69218f ("sh_eth: use managed device API")
> Reported-by: Nobuhiro Iwamatsu <[email protected]>
> Signed-off-by: Sergei Shtylyov <[email protected]>
Applied and queued up for -stable, thanks.