summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps/pxa2xx-flash.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <der.herr@hofr.at>2017-02-13 11:13:42 +0300
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-05-18 13:53:33 +0300
commitaba3a882a178c47b2dab1fd0bccca6131c01d9bb (patch)
tree07b535d04c6fd9e258fd6248960815aa06850c56 /drivers/mtd/maps/pxa2xx-flash.c
parentdd50a1c4e56d6d2ea753f87a35b1f1e09cb877d7 (diff)
downloadlinux-aba3a882a178c47b2dab1fd0bccca6131c01d9bb.tar.xz
mtd: spi-nor: intel: provide a range for poll_timout
The overall poll time here is INTEL_SPI_TIMEOUT * 1000 which is 5000 * 1000 - so 5seconds and it is coded as a tight loop here delay_us to readl_poll_timeout() is set to 0. As this is never called in an atomic context sleeping should be no issue and there is no reasons for the tight-loop here. Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd/maps/pxa2xx-flash.c')
0 files changed, 0 insertions, 0 deletions