Re: [PATCH v2 3/8] iio: adc: rockchip_saradc: Make use of devm_clk_get_enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dmitry,


On 26/05/23 06:12, Dmitry Osipenko wrote:
On 5/26/23 00:27, Shreeya Patel wrote:
@@ -600,8 +560,6 @@ static int rockchip_saradc_suspend(struct device *dev)
  	struct iio_dev *indio_dev = dev_get_drvdata(dev);
  	struct rockchip_saradc *info = iio_priv(indio_dev);
- clk_disable_unprepare(info->clk);
-	clk_disable_unprepare(info->pclk);
  	regulator_disable(info->vref);
Why clocks need to be enabled during suspend?

They don't need to be enabled during suspend. Thanks for pointing it out, I'll add them again in v3.


Thanks,
Shreeya Patel




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux