jazz16.c (8dd06ef34b6e2f41b29fbf5fc1663780f2524285) jazz16.c (30e88d017fcbeb50c4b07577fe059558361067e7)
1
2/*
3 * jazz16.c - driver for Media Vision Jazz16 based soundcards.
4 * Copyright (C) 2009 Krzysztof Helt <krzysztof.h1@wp.pl>
5 * Based on patches posted by Rask Ingemann Lambertsen and Rene Herman.
6 * Based on OSS Sound Blaster driver.
7 *
8 * This file is subject to the terms and conditions of the GNU General Public

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

334 dev_set_drvdata(devptr, card);
335 return 0;
336
337err_free:
338 snd_card_free(card);
339 return err;
340}
341
1
2/*
3 * jazz16.c - driver for Media Vision Jazz16 based soundcards.
4 * Copyright (C) 2009 Krzysztof Helt <krzysztof.h1@wp.pl>
5 * Based on patches posted by Rask Ingemann Lambertsen and Rene Herman.
6 * Based on OSS Sound Blaster driver.
7 *
8 * This file is subject to the terms and conditions of the GNU General Public

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

334 dev_set_drvdata(devptr, card);
335 return 0;
336
337err_free:
338 snd_card_free(card);
339 return err;
340}
341
342static int snd_jazz16_remove(struct device *devptr, unsigned int dev)
342static void snd_jazz16_remove(struct device *devptr, unsigned int dev)
343{
344 struct snd_card *card = dev_get_drvdata(devptr);
345
346 snd_card_free(card);
343{
344 struct snd_card *card = dev_get_drvdata(devptr);
345
346 snd_card_free(card);
347 return 0;
348}
349
350#ifdef CONFIG_PM
351static int snd_jazz16_suspend(struct device *pdev, unsigned int n,
352 pm_message_t state)
353{
354 struct snd_card *card = dev_get_drvdata(pdev);
355 struct snd_card_jazz16 *acard = card->private_data;

--- 34 unchanged lines hidden ---
347}
348
349#ifdef CONFIG_PM
350static int snd_jazz16_suspend(struct device *pdev, unsigned int n,
351 pm_message_t state)
352{
353 struct snd_card *card = dev_get_drvdata(pdev);
354 struct snd_card_jazz16 *acard = card->private_data;

--- 34 unchanged lines hidden ---