RE: [PATCH v4] dw9714: Initial driver for dw9714 VCM

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

 



> > > +               if (ret)
> > > +                       dev_err(dev, "%s I2C failure: %d", __func__,
> > > + ret);
> >
> > I think we should just return an error code here and fail the suspend.
> 
> The result from an error here is that the user would hear an audible click.
> I don't think it's worth failing system suspend. :-)
> 
> But as no action is taken based on the error code, there could be quite a few of
> these messages. How about dev_err_once()? For resume I might use
> dev_err_ratelimited().
> 

Ack (addressed with v5 of this patch)



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux