]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: m25p80: don't probe device which has status of 'disabled'
authorShaohui Xie <Shaohui.Xie@freescale.com>
Fri, 14 Oct 2011 07:49:00 +0000 (15:49 +0800)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sun, 16 Oct 2011 11:51:04 +0000 (14:51 +0300)
commitc7fb0a150234f4e3e67d0c7ce084c4ed3303eafe
tree930e0c6799626204ade4522a5aa22ba24b2f3e5e
parentfaceeb32306a1a8b013977e12b92b342eb39deb0
mtd: m25p80: don't probe device which has status of 'disabled'

On some platforms such as P3060QDS, has multiple spi flashes, but they are
not available at same time, so if their status is 'disabled', which is set
by u-boot, will not be probed.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/devices/m25p80.c