|
| 1 | +// SPDX-License-Identifier: MIT |
| 2 | +/* |
| 3 | + * Copyright 2012 Red Hat Inc. |
| 4 | + * |
| 5 | + * Permission is hereby granted, free of charge, to any person obtaining a |
| 6 | + * copy of this software and associated documentation files (the |
| 7 | + * "Software"), to deal in the Software without restriction, including |
| 8 | + * without limitation the rights to use, copy, modify, merge, publish, |
| 9 | + * distribute, sub license, and/or sell copies of the Software, and to |
| 10 | + * permit persons to whom the Software is furnished to do so, subject to |
| 11 | + * the following conditions: |
| 12 | + * |
| 13 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 14 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 15 | + * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL |
| 16 | + * THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, |
| 17 | + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
| 18 | + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE |
| 19 | + * USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 20 | + * |
| 21 | + * The above copyright notice and this permission notice (including the |
| 22 | + * next paragraph) shall be included in all copies or substantial portions |
| 23 | + * of the Software. |
| 24 | + */ |
| 25 | +/* |
| 26 | + * Authors: Dave Airlie <[email protected]> |
| 27 | + */ |
| 28 | + |
| 29 | +#include "ast_drv.h" |
| 30 | + |
| 31 | +/* |
| 32 | + * POST |
| 33 | + */ |
| 34 | + |
| 35 | +int ast_2600_post(struct ast_device *ast) |
| 36 | +{ |
| 37 | + if (ast->tx_chip == AST_TX_ASTDP) |
| 38 | + return ast_dp_launch(ast); |
| 39 | + |
| 40 | + return 0; |
| 41 | +} |
0 commit comments