Commit 9daedd833a38edd90cf7baa1b1fcf61c3a0721e3

Authored by Jon Povey
Committed by Sekhar Nori
1 parent 33e1e5e317

davinci: DM365 EVM: fix video input mux bits

Video input mux settings for tvp7002 and imager inputs were swapped.
Comment was correct.

Tested on EVM with tvp7002 input.

Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk>
Acked-by: Manjunath Hadli <manjunath.hadli@ti.com>
Cc: stable@kernel.org
Signed-off-by: Sekhar Nori <nsekhar@ti.com>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

arch/arm/mach-davinci/board-dm365-evm.c
... ... @@ -520,7 +520,7 @@
520 520 */
521 521 if (have_imager()) {
522 522 label = "HD imager";
523   - mux |= 1;
  523 + mux |= 2;
524 524  
525 525 /* externally mux MMC1/ENET/AIC33 to imager */
526 526 mux |= BIT(6) | BIT(5) | BIT(3);
... ... @@ -540,7 +540,7 @@
540 540 resets &= ~BIT(1);
541 541  
542 542 if (have_tvp7002()) {
543   - mux |= 2;
  543 + mux |= 1;
544 544 resets &= ~BIT(2);
545 545 label = "tvp7002 HD";
546 546 } else {