j
k
j a
j l
19.11.2021 17:48, Andy Shevchenko пишет:
... if (i2c_dev->nclocks == 0) return; Why? Make clocks optional.
if (i2c_dev->nclocks == 0) return;
if (i2c_dev->nclocks == 0)
return;
Why? Make clocks optional.
This check shouldn't be needed because both clk_disable() and clk_bulk_unprepare() should handle NULL/zero clocks without problems.
Back to the thread
Back to the list