[MTD] m25p80: fix detection of m25p16 flashes
Commit d0e8c47c ("m25p80.c extended jedec support") added support for extended ids but seems to break on flashes which don't have an extended id defined. If the table does not have an extid defined, then we should ignore it. Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NMichael Hennerich <Michael.Hennerich@analog.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
Showing
想要评论请 注册 或 登录