mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
jtag: fix mistake on state setup
PD#141217: jtag: fix mistake on state setup Change-Id: If58925679b73a5af0f767797897fd0805644d356 Signed-off-by: Bo Yang <bo.yang@amlogic.com>
This commit is contained in:
@@ -351,7 +351,7 @@ static int aml_jtag_select(struct platform_device *pdev)
|
||||
pr_info("set state %u\n", select);
|
||||
|
||||
set_cpus_allowed_ptr(current, cpumask_of(0));
|
||||
aml_set_jtag_state(AMLOGIC_JTAG_STATE_ON, select);
|
||||
aml_set_jtag_state(state, select);
|
||||
set_cpus_allowed_ptr(current, cpu_all_mask);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user