Message ID | f0f00368-9985-4517-8019-010f744a0e39@web.de |
---|---|
State | New |
Headers | show |
Series | clk: ti: Adjustments for eight function implementations | expand |
diff --git a/drivers/clk/ti/fapll.c b/drivers/clk/ti/fapll.c index e9956e3ccd65..d4674ec3d7e9 100644 --- a/drivers/clk/ti/fapll.c +++ b/drivers/clk/ti/fapll.c @@ -504,7 +504,7 @@ static struct clk * __init ti_fapll_synth_setup(struct fapll_data *fd, synth = kzalloc(sizeof(*synth), GFP_KERNEL); if (!synth) - goto free; + goto free_init; synth->fd = fd; synth->index = index; @@ -524,6 +524,7 @@ static struct clk * __init ti_fapll_synth_setup(struct fapll_data *fd, free: kfree(synth); +free_init: kfree(init); return clk;