diff options
-rw-r--r-- | drivers/soc/ti/knav_dma.c | 4 | ||||
-rw-r--r-- | drivers/soc/ti/knav_qmss.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/soc/ti/knav_dma.c b/drivers/soc/ti/knav_dma.c index 224d7ddeeb76..23f09dce23e0 100644 --- a/drivers/soc/ti/knav_dma.c +++ b/drivers/soc/ti/knav_dma.c | |||
@@ -438,7 +438,7 @@ void *knav_dma_open_channel(struct device *dev, const char *name, | |||
438 | 438 | ||
439 | chan_num = of_channel_match_helper(dev->of_node, name, &instance); | 439 | chan_num = of_channel_match_helper(dev->of_node, name, &instance); |
440 | if (chan_num < 0) { | 440 | if (chan_num < 0) { |
441 | dev_err(kdev->dev, "No DMA instace with name %s\n", name); | 441 | dev_err(kdev->dev, "No DMA instance with name %s\n", name); |
442 | return (void *)-EINVAL; | 442 | return (void *)-EINVAL; |
443 | } | 443 | } |
444 | 444 | ||
@@ -461,7 +461,7 @@ void *knav_dma_open_channel(struct device *dev, const char *name, | |||
461 | } | 461 | } |
462 | } | 462 | } |
463 | if (!found) { | 463 | if (!found) { |
464 | dev_err(kdev->dev, "No DMA instace with name %s\n", instance); | 464 | dev_err(kdev->dev, "No DMA instance with name %s\n", instance); |
465 | return (void *)-EINVAL; | 465 | return (void *)-EINVAL; |
466 | } | 466 | } |
467 | 467 | ||
diff --git a/drivers/soc/ti/knav_qmss.h b/drivers/soc/ti/knav_qmss.h index 3efc47e82973..7c128132799e 100644 --- a/drivers/soc/ti/knav_qmss.h +++ b/drivers/soc/ti/knav_qmss.h | |||
@@ -240,14 +240,14 @@ struct knav_pool { | |||
240 | }; | 240 | }; |
241 | 241 | ||
242 | /** | 242 | /** |
243 | * struct knav_queue_inst: qmss queue instace properties | 243 | * struct knav_queue_inst: qmss queue instance properties |
244 | * @descs: descriptor pointer | 244 | * @descs: descriptor pointer |
245 | * @desc_head, desc_tail, desc_count: descriptor counters | 245 | * @desc_head, desc_tail, desc_count: descriptor counters |
246 | * @acc: accumulator channel pointer | 246 | * @acc: accumulator channel pointer |
247 | * @kdev: qmss device pointer | 247 | * @kdev: qmss device pointer |
248 | * @range: range info | 248 | * @range: range info |
249 | * @qmgr: queue manager info | 249 | * @qmgr: queue manager info |
250 | * @id: queue instace id | 250 | * @id: queue instance id |
251 | * @irq_num: irq line number | 251 | * @irq_num: irq line number |
252 | * @notify_needed: notifier needed based on queue type | 252 | * @notify_needed: notifier needed based on queue type |
253 | * @num_notifiers: total notifiers | 253 | * @num_notifiers: total notifiers |
@@ -274,7 +274,7 @@ struct knav_queue_inst { | |||
274 | /** | 274 | /** |
275 | * struct knav_queue: qmss queue properties | 275 | * struct knav_queue: qmss queue properties |
276 | * @reg_push, reg_pop, reg_peek: push, pop queue registers | 276 | * @reg_push, reg_pop, reg_peek: push, pop queue registers |
277 | * @inst: qmss queue instace properties | 277 | * @inst: qmss queue instance properties |
278 | * @notifier_fn: notifier function | 278 | * @notifier_fn: notifier function |
279 | * @notifier_fn_arg: notifier function argument | 279 | * @notifier_fn_arg: notifier function argument |
280 | * @notifier_enabled: notier enabled for a give queue | 280 | * @notifier_enabled: notier enabled for a give queue |