hpi6000.c (3285ea10e9b09d68da18d2f805980246ec53523a) hpi6000.c (ffdb57874643a8ad65a46a02dceb2211283816c2)
1/******************************************************************************
2
3 AudioScience HPI driver
4 Copyright (C) 1997-2010 AudioScience Inc. <support@audioscience.com>
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of version 2 of the GNU General Public License as
8 published by the Free Software Foundation;

--- 568 unchanged lines hidden (view full) ---

577 if (phw->p_cache)
578 pao->has_control_cache = 1;
579 }
580
581 HPI_DEBUG_LOG(DEBUG, "get adapter info ASI%04X index %d\n",
582 pao->adapter_type, pao->index);
583 pao->open = 0; /* upon creation the adapter is closed */
584
1/******************************************************************************
2
3 AudioScience HPI driver
4 Copyright (C) 1997-2010 AudioScience Inc. <support@audioscience.com>
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of version 2 of the GNU General Public License as
8 published by the Free Software Foundation;

--- 568 unchanged lines hidden (view full) ---

577 if (phw->p_cache)
578 pao->has_control_cache = 1;
579 }
580
581 HPI_DEBUG_LOG(DEBUG, "get adapter info ASI%04X index %d\n",
582 pao->adapter_type, pao->index);
583 pao->open = 0; /* upon creation the adapter is closed */
584
585 if (phw->p_cache)
586 phw->p_cache->adap_idx = pao->index;
587
585 return hpi_add_adapter(pao);
586}
587
588static void delete_adapter_obj(struct hpi_adapter_obj *pao)
589{
590 struct hpi_hw_obj *phw = (struct hpi_hw_obj *)pao->priv;
591
592 if (pao->has_control_cache)

--- 1209 unchanged lines hidden ---
588 return hpi_add_adapter(pao);
589}
590
591static void delete_adapter_obj(struct hpi_adapter_obj *pao)
592{
593 struct hpi_hw_obj *phw = (struct hpi_hw_obj *)pao->priv;
594
595 if (pao->has_control_cache)

--- 1209 unchanged lines hidden ---