Re: [PATCH v7] dw9714: Initial driver for dw9714 VCM

2017-06-02 Thread Sakari Ailus
On Thu, Jun 01, 2017 at 11:06:51PM -0700, Rajmohan Mani wrote: > +static int dw9714_probe(struct i2c_client *client, > + const struct i2c_device_id *devid) > +{ > + struct dw9714_device *dw9714_dev; > + int rval; > + > + dw9714_dev = devm_kzalloc(&client->dev, sizeof

[PATCH v7] dw9714: Initial driver for dw9714 VCM

2017-06-01 Thread Rajmohan Mani
DW9714 is a 10 bit DAC, designed for linear control of voice coil motor. This driver creates a V4L2 subdevice and provides control to set the desired focus. Signed-off-by: Rajmohan Mani --- Changes in v7: - Removed DW9714 ACPI hwid from ACPI match table, until the correct ACPI id