]> git.baikalelectronics.ru Git - kernel.git/commit
clk: tegra: Check BPMP response return code
authorTimo Alho <talho@nvidia.com>
Thu, 7 Sep 2017 09:31:02 +0000 (12:31 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 19 Oct 2017 14:38:40 +0000 (16:38 +0200)
commit05d2a769c7cba93f25303ab886d5de9ed5a0f112
tree4d38e788f7460522d1f1fa76b9ce68f77339bab1
parentbd3dcf7a3922441bebf51140b12d13d999f5e07c
clk: tegra: Check BPMP response return code

Check return code in BPMP response message(s). The typical error case is
when a clock operation is attempted with an invalid clock identifier.

Also remove error print from call to clk_get_info() as the
implementation loops through the range of all possible identifiers, yet
the operation is expected to error out when the clock ID is unused.

Signed-off-by: Timo Alho <talho@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-bpmp.c