|
@@ -1298,7 +1298,7 @@ static ssize_t spacc_stat_irq_thresh_store(struct device *dev,
|
|
struct spacc_engine *engine = spacc_dev_to_engine(dev);
|
|
struct spacc_engine *engine = spacc_dev_to_engine(dev);
|
|
unsigned long thresh;
|
|
unsigned long thresh;
|
|
|
|
|
|
- if (strict_strtoul(buf, 0, &thresh))
|
|
|
|
|
|
+ if (kstrtoul(buf, 0, &thresh))
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
|
|
|
thresh = clamp(thresh, 1UL, engine->fifo_sz - 1);
|
|
thresh = clamp(thresh, 1UL, engine->fifo_sz - 1);
|