Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326380
b: refs/heads/master
c: fb997a4
h: refs/heads/master
v: v3
  • Loading branch information
Sylwester Nawrocki authored and Kukjin Kim committed Sep 21, 2012
1 parent 3feb6cb commit d68e5a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dec2e82a91411f0e1948b49b5c36fa1c566de227
refs/heads/master: fb997a46626dca2778fa7570bb516d8486f2f837
2 changes: 2 additions & 0 deletions trunk/arch/arm/plat-samsung/devs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1591,6 +1591,8 @@ struct platform_device s3c64xx_device_spi1 = {
void __init s3c64xx_spi1_set_platdata(int (*cfg_gpio)(void), int src_clk_nr,
int num_cs)
{
struct s3c64xx_spi_info pd;

/* Reject invalid configuration */
if (!num_cs || src_clk_nr < 0) {
pr_err("%s: Invalid SPI configuration\n", __func__);
Expand Down

0 comments on commit d68e5a8

Please sign in to comment.