On 8/9/10 11:41 PM, David Hendricks wrote:
Some chips do not require enter/exit sequences. This causes them to be detected and printed multiple times in probe_idregs_* functions where a simple series of enter --> probe/print --> exit calls are made.

This patch adds a simple check after each set of those calls to make the functions quit after a chip is found.
Great catch.

Signed-off by: David Hendricks (dhendrix@google.com)
Acked-by: Stefan Reinauer <stepan@coresystems.de>