Re: [PATCH RESEND 1/2] ASoC: cs4265: Fix part number ID error message

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

 



On Wed, Dec 22, 2021 at 11:19:19AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@xxxxxxx>
> 
> The Chip ID - Register 01h contains the following description
> as per the CS4265 datasheet:
> 
> "Bits 7 through 4 are the part number ID, which is 1101b (0Dh)"
> 
> The current error message is incorrect as it prints CS4265_CHIP_ID,
> which is the register number, instead of printing the expected
> part number ID value.
> 
> To make it clearer, also do a shift by 4, so that the error message
> would become:
> 
> [    4.218083] cs4265 1-004f: CS4265 Part Number ID: 0x0 Expected: 0xd
> 
> Signed-off-by: Fabio Estevam <festevam@xxxxxxx>
> ---

Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Thanks,
Charles



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux