Files
i2som-imx-linux/include/linux
Yufen Yu 29ece8b435 block: add BLK_MQ_POLL_CLASSIC for hybrid poll and return EINVAL for unexpected value
For q->poll_nsec == -1, means doing classic poll, not hybrid poll.
We introduce a new flag BLK_MQ_POLL_CLASSIC to replace -1, which
may make code much easier to read.

Additionally, since val is an int obtained with kstrtoint(), val can be
a negative value other than -1, so return -EINVAL for that case.

Thanks to Damien Le Moal for some good suggestion.

Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-03-20 14:02:07 -06:00
..
2019-03-12 18:59:17 -07:00
2019-03-12 10:04:02 -07:00
2019-03-12 10:04:00 -07:00
2019-03-09 19:52:47 -08:00
2019-03-07 18:32:03 -08:00
2019-03-12 10:04:01 -07:00
2019-03-12 10:04:03 -07:00