jtag: getting the JTAG speed can fail

If the JTAG speed has not been set, then it has no defined
value, add code to propagate the error.

No change to actual behavior as no new failure paths have
been introduced. This is a no-op patch to make subsequent patches
smaller.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
Øyvind Harboe
2010-12-06 09:21:23 +01:00
parent 5cd931ed1c
commit 740b9e25b4
11 changed files with 71 additions and 27 deletions

View File

@@ -239,7 +239,7 @@ int jtag_call_event_callbacks(enum jtag_event event);
/// @returns The current JTAG speed setting.
int jtag_get_speed(void);
int jtag_get_speed(int *speed);
/**
* Given a @a speed setting, use the interface @c speed_div callback to