~ubuntu-branches/ubuntu/vivid/oss4/vivid-proposed

« back to all changes in this revision

Viewing changes to kernel/framework/audio/oss_audio_core.c

  • Committer: Package Import Robot
  • Author(s): Sebastien NOEL
  • Date: 2012-11-19 11:47:24 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20121119114724-svu8mq7x3pk64nez
Tags: 4.2-build2007-1
* New upstream release.
* Acknowledge NMU, thanks Michael Gilbert.
* Add debian/patches/110_ld-as-needed.patch: Rearrange order of linker
  arguments to fix building with "ld --as-needed" (closes: #630737).
* Add missing dependency on dpkg-dev to oss4-dkms and oss4-source
  (closes: #687086).
* Fix typo in the changelog (closes: #628876, #675933)
* Add debian/patches/002_fix-linux-oss_native_word.patch (closes: #693657).
  Thanks to Ben Hutchings.
* Add debian/patches/003_linux-error-logging-fixes.patch (closes: #693657).
  Thanks to Ben Hutchings.
* check for /lib/modules/${kernelver}/build in addition of
  /lib/modules/${kernelver}/source (closes: #587191).
* oss4-dkms.dkms.in: fix 'CLEAN' rules (closes: #653374).

Show diffs side-by-side

added added

removed removed

Lines of Context:
6281
6281
  adev_t *op;
6282
6282
  int i, num = -1, hidden_device = 0;
6283
6283
  int update_devlists = 0;
6284
 
  int reinsterted_device = 0;
 
6284
  int reinserted_device = 0;
6285
6285
  int chdev_flags = 0;
6286
6286
  int devfile_num = 0;
6287
6287
 
6331
6331
 */
6332
6332
 
6333
6333
  num = -1;
6334
 
 
 
6334
#if !defined(sun)
6335
6335
  for (i = 0; i < num_audio_engines; i++)
6336
6336
    {
6337
6337
 
6345
6345
          /* This audio device was previously connected to the same physical device */
6346
6346
 
6347
6347
          num = i;
6348
 
          reinsterted_device = 1;
 
6348
          reinserted_device = 1;
6349
6349
          DDB (cmn_err
6350
6350
               (CE_NOTE, "Audio device %d got re-installed again.\n", i));
6351
6351
          break;
6352
6352
        }
6353
6353
    }
 
6354
#endif
6354
6355
 
6355
6356
  if (num == -1)
6356
6357
    {
6466
6467
  hidden_device = 0;
6467
6468
#endif
6468
6469
 
6469
 
  if (reinsterted_device)
 
6470
  if (reinserted_device)
6470
6471
    {
6471
6472
      /*
6472
6473
       * A hotpluggable device has been reinserted in the system.
6559
6560
//#endif
6560
6561
 
6561
6562
#if 0
6562
 
  if (!reinsterted_device && update_devlists && !hidden_device)
 
6563
  if (!reinserted_device && update_devlists && !hidden_device)
6563
6564
    add_to_devlists (op);
6564
6565
#endif
6565
6566