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

« back to all changes in this revision

Viewing changes to .pc/103_kfreebsd-gnu.patch/kernel/framework/audio/oss_audio_core.c

  • Committer: Package Import Robot
  • Author(s): Sebastien NOEL, Sebastien NOEL, Benda Xu
  • Date: 2014-10-23 22:47:56 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20141023224756-ugge2zw3qib5ldip
Tags: 4.2-build2010-1
[ Sebastien NOEL ]
* New upstream release.
  - fix build with recent kernel. (Closes: #696751)
* Add build dependency on libtool-bin. (Closes: #761783)

[ Benda Xu ]
* Use debhelper 9.
* Bump to standard 3.9.6.
* Add Benda Xu to uploaders.
* Run wrap-and-sort.
* Canonicalize Vcs-Svn field and add Vcs-Browser field.
* Get rid of limits.h copy hack, leverage include-fixed from gcc.

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 reinserted_device = 0;
 
6284
  int reinsterted_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
 
#if !defined(sun)
 
6334
 
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
 
          reinserted_device = 1;
 
6348
          reinsterted_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
6355
6354
 
6356
6355
  if (num == -1)
6357
6356
    {
6467
6466
  hidden_device = 0;
6468
6467
#endif
6469
6468
 
6470
 
  if (reinserted_device)
 
6469
  if (reinsterted_device)
6471
6470
    {
6472
6471
      /*
6473
6472
       * A hotpluggable device has been reinserted in the system.
6560
6559
//#endif
6561
6560
 
6562
6561
#if 0
6563
 
  if (!reinserted_device && update_devlists && !hidden_device)
 
6562
  if (!reinsterted_device && update_devlists && !hidden_device)
6564
6563
    add_to_devlists (op);
6565
6564
#endif
6566
6565