| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2016 NVIDIA Corporation |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 7 | 4 | */ |
|---|
| 8 | 5 | |
|---|
| 9 | 6 | #include <linux/clk-provider.h> |
|---|
| .. | .. |
|---|
| 162 | 159 | |
|---|
| 163 | 160 | err = tegra_bpmp_clk_transfer(clk->bpmp, &msg); |
|---|
| 164 | 161 | if (err < 0) |
|---|
| 165 | | - return err; |
|---|
| 162 | + return 0; |
|---|
| 166 | 163 | |
|---|
| 167 | 164 | return response.rate; |
|---|
| 168 | 165 | } |
|---|
| .. | .. |
|---|
| 471 | 468 | unsigned int num_clocks) |
|---|
| 472 | 469 | { |
|---|
| 473 | 470 | struct tegra_bpmp_clk *clk; |
|---|
| 474 | | - struct clk_init_data init = {}; |
|---|
| 471 | + struct clk_init_data init; |
|---|
| 475 | 472 | const char **parents; |
|---|
| 476 | 473 | unsigned int i; |
|---|
| 477 | 474 | int err; |
|---|