.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /****************************************************************************** |
---|
2 | 3 | |
---|
3 | 4 | AudioScience HPI driver |
---|
4 | 5 | Copyright (C) 1997-2014 AudioScience Inc. <support@audioscience.com> |
---|
5 | 6 | |
---|
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; |
---|
9 | | - |
---|
10 | | - This program is distributed in the hope that it will be useful, |
---|
11 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | | - GNU General Public License for more details. |
---|
14 | | - |
---|
15 | | - You should have received a copy of the GNU General Public License |
---|
16 | | - along with this program; if not, write to the Free Software |
---|
17 | | - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
18 | 7 | |
---|
19 | 8 | Hardware Programming Interface (HPI) for AudioScience |
---|
20 | 9 | ASI50xx, AS51xx, ASI6xxx, ASI87xx ASI89xx series adapters. |
---|
.. | .. |
---|
441 | 430 | pao = hpi_find_adapter(phm->adapter_index); |
---|
442 | 431 | } else { |
---|
443 | 432 | /* subsys messages don't address an adapter */ |
---|
444 | | - _HPI_6205(NULL, phm, phr); |
---|
| 433 | + phr->error = HPI_ERROR_INVALID_OBJ_INDEX; |
---|
445 | 434 | return; |
---|
446 | 435 | } |
---|
447 | 436 | |
---|