snd_ps3.c (fc8a327db6c46de783b1a4276d846841b9abc24c) | snd_ps3.c (f78dfac904325a996b8f97b045647898cc1ccc40) |
---|---|
1/* 2 * Audio support for PS3 3 * Copyright (C) 2007 Sony Computer Entertainment Inc. 4 * All rights reserved. 5 * Copyright 2006, 2007 Sony Corporation 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License --- 940 unchanged lines hidden (view full) --- 949 } 950 pr_debug("%s: null vaddr=%p dma=%#lx\n", __func__, 951 the_card.null_buffer_start_vaddr, 952 the_card.null_buffer_start_dma_addr); 953 /* set default sample rate/word width */ 954 snd_ps3_init_avsetting(&the_card); 955 956 /* register the card */ | 1/* 2 * Audio support for PS3 3 * Copyright (C) 2007 Sony Computer Entertainment Inc. 4 * All rights reserved. 5 * Copyright 2006, 2007 Sony Corporation 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License --- 940 unchanged lines hidden (view full) --- 949 } 950 pr_debug("%s: null vaddr=%p dma=%#lx\n", __func__, 951 the_card.null_buffer_start_vaddr, 952 the_card.null_buffer_start_dma_addr); 953 /* set default sample rate/word width */ 954 snd_ps3_init_avsetting(&the_card); 955 956 /* register the card */ |
957 snd_card_set_dev(the_card.card, &dev->core); |
|
957 ret = snd_card_register(the_card.card); 958 if (ret < 0) 959 goto clean_dma_map; 960 961 pr_info("%s started. start_delay=%dms\n", 962 the_card.card->longname, the_card.start_delay); 963 return 0; 964 --- 160 unchanged lines hidden --- | 958 ret = snd_card_register(the_card.card); 959 if (ret < 0) 960 goto clean_dma_map; 961 962 pr_info("%s started. start_delay=%dms\n", 963 the_card.card->longname, the_card.start_delay); 964 return 0; 965 --- 160 unchanged lines hidden --- |