Skip to content

bcm_dma_wait_idle not exported? #26

Closed

Description

@simonjhall

Hi there,

I'm using the BCM DMA functions from inside a kernel module.
I'm having a run-time link error as it appears that bcm_dma_wait_idle symbol is not exported. All the other interesting DMA functions are. Is this by design, or is this just an omission?

If it is by design, what is the best way of waiting for a DMA to finish? (IRQ?)

Kind regards,
Simon

Activity

  1. popcornmix commented on May 18, 2012

    @popcornmix
    Collaborator

    That's just an omission as no-one is currently using that function.
    Note the comment, this busy waits, so will hog the CPU.
    This really need a down_interruptable that is triggered from the end of DMA imterrupt.

  2. simonjhall commented on May 18, 2012

    @simonjhall
    Author

    Ok cool cheers.
    I'd seen the comment and was wondering if it's worth sticking in a schedule() call into the busy loop? (although I head that pre-emptive kernel doesn't work)

  3. ghollingworth commented on Aug 22, 2013

    @ghollingworth

    Assuming this is now fixed? It's been a while!

  4. added a commit that references this issue on Apr 12, 2016
  5. added a commit that references this issue on Aug 21, 2016
  6. 123 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions