sata: ahci-da850: un-hardcode the MPY bits
All platforms using this driver now register the SATA refclk. Remove the hardcoded default value from the driver and instead read the rate of the external clock and calculate the required MPY value from it. Signed-off-by: NBartosz Golaszewski <bgolaszewski@baylibre.com> Acked-by: NTejun Heo <tj@kernel.org> [nsekhar@ti.com: fix checkpatch warning about an unneeded else] Signed-off-by: NSekhar Nori <nsekhar@ti.com>
Showing
想要评论请 注册 或 登录