Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bcm2835_isp fixes for const'ness #3592

Merged
merged 2 commits into from
May 1, 2020

Commits on May 1, 2020

  1. staging: vc04_services: isp: Remove duplicated initialisation

    With the codec code from which this was derived, the driver had to
    get the supported formats for both input and output ports.
    This had been copied across, however here we have independent nodes
    for each port, but the code had been left in to do the same thing
    twice.
    Remove the duplicate.
    
    Signed-off-by: Dave Stevenson <[email protected]>
    6by9 committed May 1, 2020
    Configuration menu
    Copy the full SHA
    af46379 View commit details
    Browse the repository at this point in the history
  2. staging: vc04_services: isp: Make all references to bcm2835_isp_fmt c…

    …onst
    
    The array of potential formats and their configuration should be const.
    Rework all accesses so that this is possible.
    
    The list of supported formats was taking a copy of entries from this table.
    This is unnecessary, therefore allocate an array of pointers instead of
    an array of entries.
    
    Signed-off-by: Dave Stevenson <[email protected]>
    6by9 committed May 1, 2020
    Configuration menu
    Copy the full SHA
    6326016 View commit details
    Browse the repository at this point in the history