]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit368283d031200fb116c4f991ab513ae59ea0a268
tree09be4891b77ac1df620c9435107b2e8521a128ee
parentebfb6044a4f3c4367b1acf0bc711ece809f72029
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