OSDN Git Service

sata_rcar: Reset SATA PHY when Salvator-X board resumes
authorKhiem Nguyen <khiem.nguyen.xt@rvc.renesas.com>
Sun, 4 Feb 2018 19:18:51 +0000 (04:18 +0900)
committerTejun Heo <tj@kernel.org>
Mon, 12 Feb 2018 17:22:36 +0000 (09:22 -0800)
commitda77d76b95a0e8940793f4f7fe12a4a2d2048e39
tree09be4891b77ac1df620c9435107b2e8521a128ee
parent2c1ec6fda2d07044cda922ee25337cf5d4b429b3
sata_rcar: Reset SATA PHY when Salvator-X board resumes

Because power of Salvator-X board is cut off in suspend,
it needs to reset SATA PHY state in resume.
Otherwise, SATA partition could not be accessed anymore.

Signed-off-by: Khiem Nguyen <khiem.nguyen.xt@rvc.renesas.com>
Signed-off-by: Hien Dang <hien.dang.eb@rvc.renesas.com>
[reinit phy in sata_rcar_resume() function on R-Car Gen3 only]
[factor out SATA module init sequence]
[fixed the prefix for the subject]
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_rcar.c