hw/i2c/imx: Fix trace func name error
Signed-off-by: Alano Song <AlanoSong@163.com>
Fixes: e589c0ea9c ("hw/i2c/imx_i2c: Convert DPRINTF() to trace events")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20251218141144.51001-1-AlanoSong@163.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit 3fbadbb3927a92db1932baee0c1188b05c0ac6b1)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
59c9137156
commit
2af81f1251
1 changed files with 2 additions and 2 deletions
|
|
@ -151,8 +151,8 @@ static void imx_i2c_write(void *opaque, hwaddr offset,
|
|||
{
|
||||
IMXI2CState *s = IMX_I2C(opaque);
|
||||
|
||||
trace_imx_i2c_read(DEVICE(s)->canonical_path, imx_i2c_get_regname(offset),
|
||||
offset, value);
|
||||
trace_imx_i2c_write(DEVICE(s)->canonical_path, imx_i2c_get_regname(offset),
|
||||
offset, value);
|
||||
|
||||
value &= 0xff;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue