diff options
author | Fabio Estevam <[email protected]> | 2021-12-22 11:19:19 -0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-12-29 12:45:44 +0000 |
commit | 8f85317292f1d99e8a70a400a46ee697d64e3326 (patch) | |
tree | eab2130970abfa3df639fb60ff2a1a85461452de /drivers/usb/cdns3/cdns3-imx.c | |
parent | 10674ca9ea02491fd3f8ffe303861b7a6837994b (diff) |
ASoC: cs4265: Fix part number ID error message
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 <[email protected]>
Acked-by: Charles Keepax <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions