Commit bdf96d7d21c3d597276f31d64412b4fb9094c931
Exists in
smarct4x-processor-sdk-linux-02.00.01
and in
3 other branches
Merge branch 'audio-display-ti-linux-4.1.y' of git.ti.com:~darrene/ti-linux-kern…
…el/audio-display-linux-feature-tree into ti-linux-4.1.y TI-Feature: audio-display TI-Tree: git@git.ti.com:~darrene/ti-linux-kernel/audio-display-linux-feature-tree.git TI-Branch: audio-display-ti-linux-4.1.y * 'audio-display-ti-linux-4.1.y' of git.ti.com:~darrene/ti-linux-kernel/audio-display-linux-feature-tree: Revert "drm/i2c: tda998x: Fix bad checksum of the HDMI AVI infoframe" Signed-off-by: Dan Murphy <DMurphy@ti.com>
Showing 1 changed file Side-by-side Diff
drivers/gpu/drm/i2c/tda998x_drv.c
... | ... | @@ -606,6 +606,8 @@ |
606 | 606 | tda998x_write_if(struct tda998x_priv *priv, uint8_t bit, uint16_t addr, |
607 | 607 | uint8_t *buf, size_t size) |
608 | 608 | { |
609 | + buf[PB(0)] = tda998x_cksum(buf, size); | |
610 | + | |
609 | 611 | reg_clear(priv, REG_DIP_IF_FLAGS, bit); |
610 | 612 | reg_write_range(priv, addr, buf, size); |
611 | 613 | reg_set(priv, REG_DIP_IF_FLAGS, bit); |
... | ... | @@ -624,8 +626,6 @@ |
624 | 626 | buf[PB(2)] = p->audio_frame[2] & 0x1c; /* SF */ |
625 | 627 | buf[PB(4)] = p->audio_frame[4]; |
626 | 628 | buf[PB(5)] = p->audio_frame[5] & 0xf8; /* DM_INH + LSV */ |
627 | - | |
628 | - buf[PB(0)] = tda998x_cksum(buf, sizeof(buf)); | |
629 | 629 | |
630 | 630 | tda998x_write_if(priv, DIP_IF_FLAGS_IF4, REG_IF4_HB0, buf, |
631 | 631 | sizeof(buf)); |