apm821xx: sata_dwc_460ex: backport fixes and cleanups from 4.7

This patch fixes the sata_dwc_460ex SATA driver which is used
by the SATA controllers in the MyBook Live Series and WNDR4700.

The code was backported from the upstream kernel.
It can be dropped completely on 4.7+.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
Christian Lamparter 2016-07-20 15:44:53 +02:00 committed by Felix Fietkau
parent ea91ee13a7
commit d37d16488c

File diff suppressed because it is too large Load diff