memstick: fix setup for JMicron 38x controllers
authorTakashi Iwai <tiwai@suse.de>
Thu, 13 Jan 2011 01:01:01 +0000 (17:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:21 +0000 (08:03 -0800)
commit23c5947ac3f7a610bb4cb9e433802b36edc80fdf
tree6207b2375c61d2bd7e661cac5d1f0b60fb2b23e8
parent0193383a5833c1f082c738eaca868e4093a8df39
memstick: fix setup for JMicron 38x controllers

This patch corrects the definition of clock values for JMicron 38x
controllers and sets the value properly per interface type.
Also, it adds a check for TPC errors in the interrupt handler.

Signed-off-by: Aries Lee <arieslee@jmicron.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/memstick/host/jmb38x_ms.c