[PATCH V3 4/6] clk: bcm2835: remove use of BCM2835_CLOCK_COUNT in driver
Martin Sperl
kernel at martin.sperl.org
Thu Jan 14 07:16:46 PST 2016
> On 14.01.2016, at 14:45, kernel at martin.sperl.org wrote:
>
> -
> - clks[BCM2835_CLOCK_PWM] =
> - bcm2835_register_clock(cprman, &bcm2835_clock_pwm_data);
> + for (i = 0; i < asize; i++) {
> + desc = &clk_desc_array[i];
> + if (desc)
if (desc->data && desc->clk_register)
> + clks[i] = desc->clk_register(cprman, desc->data);
> + }
I will wait for other feedback before sending V4, which would fix this...
More information about the linux-rpi-kernel
mailing list