mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 19:21:28 +02:00
Merge "clk: qcom: clk-debug: Fix accessing mux when it is NULL"
This commit is contained in:
commit
e618ed7298
|
|
@ -445,6 +445,9 @@ static int clk_debug_measure_get(void *data, u64 *val)
|
|||
int ret = 0;
|
||||
u32 regval;
|
||||
|
||||
if (!measure)
|
||||
return -EINVAL;
|
||||
|
||||
ret = clk_runtime_get_debug_mux(meas);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user