Skip to content

Commit 98eaa09

Browse files
Anton Vorontsovkumargala
authored andcommitted
powerpc/qe: Increase MAX_QE_RISC to 4
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>
1 parent 0526484 commit 98eaa09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • arch/powerpc/sysdev/qe_lib

‎arch/powerpc/sysdev/qe_lib/qe.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ static int qe_sdma_init(void)
349349
}
350350

351351
/* The maximum number of RISCs we support */
352-
#define MAX_QE_RISC 2
352+
#define MAX_QE_RISC 4
353353

354354
/* Firmware information stored here for qe_get_firmware_info() */
355355
static struct qe_firmware_info qe_firmware_info;

0 commit comments

Comments
 (0)