Re: [PATCH v2 3/4] m25p80: Improve command handling for unsupported commands

2020-02-06 Thread Cédric Le Goater
On 2/6/20 7:32 PM, Guenter Roeck wrote: > Whenever an unsupported command is encountered, the current code > interprets each transferred byte as new command. Most of the time, those > 'commands' are interpreted as new unknown commands. However, in rare > cases, it may be that for example address or

Re: [PATCH v2 3/4] m25p80: Improve command handling for unsupported commands

2020-02-06 Thread Philippe Mathieu-Daudé
On 2/6/20 7:32 PM, Guenter Roeck wrote: Whenever an unsupported command is encountered, the current code interprets each transferred byte as new command. Most of the time, those 'commands' are interpreted as new unknown commands. However, in rare cases, it may be that for example address or lengt

[PATCH v2 3/4] m25p80: Improve command handling for unsupported commands

2020-02-06 Thread Guenter Roeck
Whenever an unsupported command is encountered, the current code interprets each transferred byte as new command. Most of the time, those 'commands' are interpreted as new unknown commands. However, in rare cases, it may be that for example address or length information passed with the original com