Skip to content

Commit

Permalink
powerpc/qe: Increase MAX_QE_RISC to 4
Browse files Browse the repository at this point in the history
MPC8569 CPUs have four QE RISCs, so we need to increase MAX_QE_RISC
constant, otherwise qe_upload_firmware() fails at sanity checking.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Nov 12, 2009
1 parent 0526484 commit 98eaa09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/sysdev/qe_lib/qe.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ static int qe_sdma_init(void)
}

/* The maximum number of RISCs we support */
#define MAX_QE_RISC 2
#define MAX_QE_RISC 4

/* Firmware information stored here for qe_get_firmware_info() */
static struct qe_firmware_info qe_firmware_info;
Expand Down

0 comments on commit 98eaa09

Please sign in to comment.