adapter: Improve three adapter-related prints
commit30631224da59608d93f56bac0f68acd6c8fd32ac
authorJan Matyas <matyas@codasip.com>
Mon, 17 Oct 2022 06:24:05 +0000 (17 08:24 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 15 Jan 2023 14:57:25 +0000 (15 14:57 +0000)
treee48f7fc9085b2612f53384aa8153f36e94f12a71
parentf2fc23e16b648c3d5600b5cc44bee69a1e697a3a
adapter: Improve three adapter-related prints

- Do not warn the user about adapter speed not being set
  if the selected adapter does not support configurable speed.
  This would be confusing to users.

- Minor reword in the "adapter speed is not selected" warning.

- Print the adapter name in the "adapter doesn't support
  configurable speed" log entry

- Another minor reword: autoselect --> autoselecting

Signed-off-by: Jan Matyas <matyas@codasip.com>
Change-Id: I4c198b547544fd8199921f092153562c5f159134
Reviewed-on: https://review.openocd.org/c/openocd/+/7269
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/jtag/adapter.c
src/transport/transport.c