spi/s3c64xx: Check before mem-region release
authorJassi Brar <jassi.brar@samsung.com>
Wed, 20 Jan 2010 20:49:44 +0000 (13:49 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 20 Jan 2010 20:49:44 +0000 (13:49 -0700)
commitef6c680dc5a182a79b09567168d6713f46c85784
tree86415b8562bcb2a811ca31460ab44ed9786371eb
parentb0d5d6e55340348b0de75eb691b93d7e60dba879
spi/s3c64xx: Check before mem-region release

Add precautionary check before releasing memory region.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_s3c64xx.c