staging: most: i2c: avoid polling in case of misconfig
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 8 May 2018 09:44:57 +0000 (11:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 May 2018 11:41:49 +0000 (13:41 +0200)
commitcd2e7148e77d45cad32b8cb18bc55bfa66491181
treef14a153fda9a919b6be445608fa10d439b824292
parent795ce21892585ed113fd63a6e06a4fea3ccdaf7b
staging: most: i2c: avoid polling in case of misconfig

This patch prevents the driver from falling back to polling mode
in case of IRQ misconfiguration.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/i2c/i2c.c