02 Nov, 2017

1 commit

  • Many source files in the tree are missing licensing information, which
    makes it harder for compliance tools to determine the correct license.

    By default all files without license information are under the default
    license of the kernel, which is GPL version 2.

    Update the files which contain no license information with the 'GPL-2.0'
    SPDX license identifier. The SPDX identifier is a legally binding
    shorthand, which can be used instead of the full boiler plate text.

    This patch is based on work done by Thomas Gleixner and Kate Stewart and
    Philippe Ombredanne.

    How this work was done:

    Patches were generated and checked against linux-4.14-rc6 for a subset of
    the use cases:
    - file had no licensing information it it.
    - file was a */uapi/* one with no licensing information in it,
    - file was a */uapi/* one with existing licensing information,

    Further patches will be generated in subsequent months to fix up cases
    where non-standard license headers were used, and references to license
    had to be inferred by heuristics based on keywords.

    The analysis to determine which SPDX License Identifier to be applied to
    a file was done in a spreadsheet of side by side results from of the
    output of two independent scanners (ScanCode & Windriver) producing SPDX
    tag:value files created by Philippe Ombredanne. Philippe prepared the
    base worksheet, and did an initial spot review of a few 1000 files.

    The 4.13 kernel was the starting point of the analysis with 60,537 files
    assessed. Kate Stewart did a file by file comparison of the scanner
    results in the spreadsheet to determine which SPDX license identifier(s)
    to be applied to the file. She confirmed any determination that was not
    immediately clear with lawyers working with the Linux Foundation.

    Criteria used to select files for SPDX license identifier tagging was:
    - Files considered eligible had to be source code files.
    - Make and config files were included as candidates if they contained >5
    lines of source
    - File already had some variant of a license header in it (even if
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

15 Jul, 2009

1 commit

  • - fix my previous codec activity breakage (_non-warned_ variable assignment
    issue)
    - convert suspend/resume to 32bit I/O access (I/O is painful; to improve
    suspend/resume performance)
    - change DEBUG_PLAY_REC to DEBUG_CODEC for consistency
    - printk cleanup
    - some logging improvements
    - minor cleanup/improvements

    The variable assignment issue above was a conditional assignment to the
    call_function variable (this ended with the non-preinitialized variable
    not getting assigned in some cases, thus a dangling stack value, yet gcc 4.3.3
    unbelievably did _NOT_ warn about it in this case!!),
    needed to change this into _always_ assigning the check result.
    Practical result of this bug was that when shutting down
    _either_ playback or capture, _both_ streams dropped dead :P

    Tested, working (plus resume) and checkpatch.pl:ed on 2.6.30-rc5,
    applies cleanly to 2.6.30 proper with my previous (committed)
    patches applied.

    Signed-off-by: Andreas Mohr
    Signed-off-by: Takashi Iwai

    Andreas Mohr
     

06 Jul, 2009

1 commit

  • - fully separate codec I/O port handling, enabling the use of a single
    function each for all codecs (playback, capture, I2S out)
    - add a new separate pcm for I2S out port (UNTESTED, no I2S DAC
    available yet)
    - switch gameport to low frequency while idle, to try to reduce noise/power
    - improve snd_azf3328_codec_setdmaa() calculation
    - minor variable type cleanup (u16, bool etc.)
    - add some doc updates (help those lost Windows users, debug help, ...)

    Note that due to the large cleanup aspect of the codec I/O change,
    I was able to fit everything including all improvements into the
    same binary size!! (a measly 10 bytes more or so)

    This should now be the almost last patch to this driver
    (minus some possible kernel clocksource patch and x86_64 fixes or so).
    I just felt like taking a break from the usual stuff and wanted to
    get this driver's structure finished, and it's rather clean now...

    Tested, working and checkpatch.pl:ed on 2.6.30-rc5,
    applies cleanly to 2.6.30 proper.

    Signed-off-by: Andreas Mohr
    Signed-off-by: Takashi Iwai

    Andreas Mohr
     

27 Jul, 2008

1 commit


26 Jun, 2008

1 commit

  • - fix problem with codec register 0x6a being write-only
    by adding a software shadow register
    (caused annoying noise after module loading due to _toggling_
    between gameport and audio bits instead of configuring them properly)
    - rename several "Wave" mixer controls to "PCM", since this is
    what Wine and several other apps are looking for (IOW, _requiring_)
    and this is what AC97 specs use as naming, too,
    thus I'd guess it's what these controls are
    - cleanup, small optimizations

    Signed-off-by: Andreas Mohr
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Andreas Mohr
     

19 May, 2008

1 commit

  • - figured out 'Digital(ly) Enhanced Game Port' functionality,
    implemented support for it (eliminating gameport polling overhead)
    - removed optional joystick activation, gameport now enabled unconditionally,
    since we now support it via the PCI I/O space, not via conflict-prone
    legacy I/O (which I was thus able to DISABLE now)!
    - fix playback bug (a muted wave output would get unmuted upon start of
    playback, of course this is not what we want, thus remember mute state)
    - implement partial power management: when idle, lower clock rate and disable
    codec (reduced noise!), and disable gameport circuit when unused
    - instantiate OPL3 timer, too
    - much better implementation of snd_azf3328_mixer_write_volume_gradually()
    - slightly optimized interrupt handling
    - lots of cleanup

    This time, I also found a way to verify proper OPL3 operation
    via MIDI file playback (emulation via synth hardware).

    Signed-off-by: Andreas Mohr
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Andreas Mohr
     

11 May, 2007

1 commit

  • - change 'PCM' mixer control (pre/post 3D) to 'PCM Output Route'
    - improve snd_azf3328_debug_show_ports
    - less aggressive module init message
    - document Bass/Treble non-bug (prompted by user report - Thank You!!)
    - add some items to card description
    - add some I/O register documentation
    - enhance copyright

    Signed-off-by: Andreas Mohr
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Andreas Mohr
     

23 Jun, 2006

2 commits


04 Nov, 2005

1 commit

  • Modules: AZT3328 driver

    this is now an even much more reworked patch (#3) for my azt3328.c ALSA driver.
    IOW I spent another 4 evenings to get the sequencer timer to work properly
    (my head is still hurting) and do lots of other cleanups.

    Note that despite the extensive sequencer timer additions, the driver object
    is still only 2kB bigger than the previous version, due to those many
    optimizations...

    Changes in version #3:
    - fully working ALSA sequencer timer support for the card's 1024000Hz
    DirectX timer (downscaling adjustable via seqtimer_scaling module param)
    - an insane amount of code optimizations
    - many, many cleanups

    Changes in version #2:
    - FOUND the 1us DirectX timer area (yay!), made the code respect it
    properly
    - renamed some 'weird' mixer control names according to ControlNames.txt
    - cleanup unneeded debug messages, reformatting
    - improved I/O register documentation
    - constified many more structs

    Changes in version #1:
    - improves/fixes some fatal playback/recording interaction
    - improves IRQ handler performance (and actually fixes some weird code)
    - coalesces some I/O accesses
    - slightly improves I/O interface documentation
    - improves/fixes logging
    - defines out some less important debug code
    - constifies some data

    Signed-off-by: Andreas Mohr
    Signed-off-by: Takashi Iwai

    Andreas Mohr
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds