Re: [PATCH v3 2/2] media: i2c: imx412: Add bulk regulator support

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

 



On 14/04/2022 14:00, Sakari Ailus wrote:
  	ret = clk_prepare_enable(imx412->inclk);
  	if (ret) {
+		regulator_bulk_disable(imx412->num_supplies,
+				       imx412->supplies);
As the function already has an error handling section using labels, this
should go there as well.

Are you asking to move regulator_bulk_disable() to error_reset ?



[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