commit | b7cec13f082fcc6e690559657d3f5493ea6eecb7 | [log] [tgz] |
---|---|---|
author | Dinh Nguyen <dinguyen@altera.com> | Fri Dec 13 16:38:28 2013 -0600 |
committer | Mike Turquette <mturquette@linaro.org> | Tue Feb 18 14:08:08 2014 -0800 |
tree | ec9610445a8013733e869744d442a6b67dad0ab3 | |
parent | 6a7e71221d4e6cd185a51e2659f279da67f2e22d [diff] |
clk: socfpga: Look for the GPIO_DB_CLK by its offset After the patch: "clk: socfpga: Map the clk manager base address in the clock driver" The clk->name field in socfpga_clk_recalc_rate() was getting cleared. Replace looking for the GPIO_DB_CLK by its divider offset instead. Also rename the define SOCFPGA_DB_CLK_OFFSET -> SOCFPGA_GPIO_DB_CLK_OFFSET, as this represents the GPIO_DB_CLK. Signed-off-by: Dinh Nguyen <dinguyen@altera.com>