diff options
| author | 2018-05-18 07:54:44 -0700 | |
|---|---|---|
| committer | 2018-05-18 07:54:44 -0700 | |
| commit | c97c8620833e4a55ddb7a43961d3205184a487f0 (patch) | |
| tree | 227de7ac91bee6fcbd37491541a326f946217978 /lib/test_overflow.c | |
| parent | bus: ti-sysc: Show module information for suspend if DEBUG is enabled (diff) | |
| download | wireguard-linux-c97c8620833e4a55ddb7a43961d3205184a487f0.tar.xz wireguard-linux-c97c8620833e4a55ddb7a43961d3205184a487f0.zip | |
bus: ti-sysc: Fix optional clocks array access
We should be checking ddata->clocks[i] instead of clock_names[i]
for the optional clocks. Currently this just happens to work for
the typical case of one fck and one optional clock.
Fixes: 09dfe5810762 ("bus: ti-sysc: Add handling for clkctrl opt clocks")
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions
