Merge branch 'cpsw-fixes'
authorDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 18:48:54 +0000 (13:48 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 18:48:54 +0000 (13:48 -0500)
commit0e2d1af399a3674351a5d0b8da5ba5764e0973a4
tree8d1ba23a4f7991d290f884d4f27cbbd4a7cffe2c
parent06ba3b2133dc203e1e9bc36cee7f0839b79a9e8b
parent23a09873221c02106cf767a86743a55873f0d05b
Merge branch 'cpsw-fixes'

Johan Hovold says:

====================
net: cpsw: fix leaks and probe deferral

This series fixes as number of leaks and issues in the cpsw probe-error
and driver-unbind paths, some which specifically prevented deferred
probing.

v2
 - Keep platform device runtime-resumed throughout probe instead of
   resuming in the probe error path as suggested by Grygorii (patch
   1/7).

 - Runtime-resume platform device before registering any children in
   order to make sure it is synchronously suspended after deregistering
   children in the error path (patch 3/7).
====================

Signed-off-by: David S. Miller <davem@davemloft.net>