dmaengine: idxd: remove global token limit check
authorDave Jiang <dave.jiang@intel.com>
Tue, 10 Mar 2020 17:51:09 +0000 (10:51 -0700)
committerVinod Koul <vkoul@kernel.org>
Wed, 11 Mar 2020 09:38:52 +0000 (15:08 +0530)
commit91124ac61216ed29405d96a29ec914624b196a79
treea7eb30710a6495c108bb8a37b8da2e7717b6424f
parenta1fcaf07ec718bb1f11e29e952c9a4cb733d57a5
dmaengine: idxd: remove global token limit check

The global token_limit is not tied to group tokens_reserved and
tokens_allowed parameters. Remove the check in order to allow independent
configuration.

Fixes: c52ca478233c ("dmaengine: idxd: add configuration component of driver")
Reported-by: Yixin Zhang <yixin.zhang@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/158386266911.11066.7545764533072221536.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/sysfs.c