Re: [PATCH V1 3/3] ASoC: codecs: Add aw88399 amplifier driver

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

 



I'm very sorry that I misunderstood my last comment, correct it here.
Thank you again for you hard review.

On Mon, Oct 16, 2023 at 16:10:17 +0800, wangweidong.a@xxxxxxxxxx wrote
> On Fri, Oct 13, 2023 at 03:10:56 PM +0100, broonie@xxxxxxxxxx wrote:
>> On Fri, Oct 13, 2023 at 06:42:20PM +0800, wangweidong.a@xxxxxxxxxx wrote:

>> This looks good - some *very* minor comments below.


>>> +static int aw_dev_dsp_update_container(struct aw_device *aw_dev,
>>> +			unsigned char *data, unsigned int len, unsigned short base)
>>> +{
>>> +	int i, ret;
>>> +
>>> +#ifdef AW88399_DSP_I2C_WRITES
>>> +	u32 tmp_len;

>> This looks like debug code which can hopefully be removed in favour of
>> the regmap implementation?

> Thank you very much, but this is not a debugging statement, This is designed
> to be compatible with different platforms that may not support continuous
> writing.

I found "use_single_write" in regmap, I will remove "AW88399_DSP_I2C_WRITES".

Best regards,
Weidong Wang




[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