]> err.no Git - linux-2.6/commit
[ALSA] at73c213: fix error checking for clk API
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sat, 8 Mar 2008 10:07:26 +0000 (11:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:22 +0000 (12:00 +0200)
commitc67582b195fb5deb24808ebbafb41045f1a61425
tree05d9fbc6ab870fe2a883091ca7f38f716cd9df31
parentb419f346994d4ba082244fb1327754bc839a4d8a
[ALSA] at73c213: fix error checking for clk API

The clk_round_rate() and clk_set_rate() will return int, so not store thier
return value to unsigned long variable.  This bug hides real error on these
API.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/spi/at73c213.c